class documentation
Class for battery information and management.
| Method | __del__ |
Destructor to clean up resources. |
| Method | __init__ |
Initialize the battery interface for the current board. |
| Property | has |
Returns True if the battery voltage can be read, False otherwise. |
| Property | percentage |
Returns the current battery level as a percentage (0-100). |
| Property | voltage |
Returns the current battery voltage in millivolts. |