🔋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:

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:

HardwareInfo.Battery[0].<property>

which <property> is:

Compatibility notes:

  • Battery info is not supported yet on macOS

Last updated