Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle multiple batteries - Windows/Powershell #17

Open
justinhj opened this issue Jul 23, 2023 · 0 comments
Open

Handle multiple batteries - Windows/Powershell #17

justinhj opened this issue Jul 23, 2023 · 0 comments

Comments

@justinhj
Copy link
Owner

Battery info on windows is retrieved using Powershell as follows


local get_battery_info_powershell_command = {
  "Get-CimInstance -ClassName Win32_Battery | Select-Object -Property EstimatedChargeRemaining,BatteryStatus",
}

Implement multiple battery support as already exists for linux/acpi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant