Battery#

As this is a standard linux system, you can find the battery interface in the /sys/class/power_supply directory. This will contain a standard power supply class that you can read battery information from.

This site was last updated on Nov 19, 2024.