-
-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Description
PROBLEM:
On laptops with more than 1 battery (e.g. Thinkpad T480), get_battery() function inside tools.py will not populate battery info as battery_count = len(glob.glob("/sys/class/power_supply/BAT*")) will always evaluate as >1 and if battery_count <= 1: branch is never entered.
Potential solutions:
- Provide users with the option to select which battery to display capacity of. Perhaps functionality can exist to show the next battery's capacity when the default battery runs to 0%.
- Automatically display the currently discharging battery's power. This information is available via /sys/class/power_supply/BAT*/status.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels