🔋Battery
Battery low. Charge now!
This lists information about the batteries that are parsed by Inxi. You can use the below properties to learn more about its information.
Module name according to each operating system:
OS | Module name |
---|---|
Linux |
|
Windows |
|
macOS |
|
You can call the module either by enumerating through the entire list of batteries, or you can use the index of the battery directly as follows:
which <property>
is:
Property | Type | Description |
---|---|---|
Name | String | Battery name |
Charge | Integer | Battery charge in percent |
Condition | String | Battery charge condition |
Volts | String | Battery voltage |
Model | String | Battery model |
Status | String | Battery status |
Compatibility notes:
Battery info is not supported yet on macOS
Last updated