🔋Battery
Battery low. Charge now!
Last updated
Battery low. Charge now!
Last updated
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 |
---|---|
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 |
---|---|---|
Compatibility notes:
Battery info is not supported yet on macOS
Linux
004#Graphics
Windows
Win32_VideoController
macOS
N/A
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