FreeBSD Laptop Find Out Battery Life Status Command

w‮.ww‬lautturi.com
FreeBSD Laptop Find Out Battery Life Status Command

On a FreeBSD laptop, you can use the acpiconf command to display information about the battery life and charging status.

To display information about the battery life and charging status, you can use the following acpiconf command:

# acpiconf -i

This will display the current battery life and charging status, as well as other information about the battery, such as the design capacity and the current capacity.

For example, the output of the acpiconf -i command might look like this:

Battery 0:
       present: no
Battery 1:
       present: yes
       design capacity: 7800 mAh
       last full capacity: 7824 mAh
       capacity loss: 0 mAh
       charging state: charged
       present rate: 0 mA
       remaining capacity: 7824 mAh
       present voltage: 12394 mV

You can also use the -b option to display only the battery life and charging status:

# acpiconf -b

This will display a summary of the battery life and charging status, such as the current battery level and whether the battery is charging or discharging.

For more information about using the acpiconf command, you can refer to the acpiconf man page by running `man acpiconf

Created Time:2017-10-28 20:40:35  Author:lautturi