FreeBSD: Display Laptop Battery Charge Status

How do I find out out details about my FreeBSD based Laptop battery status and other information from command prompt? Howto do I check battery charge status at shell prompt?

You need to use the acpiconf command which allows the user control of the ACPI power management functions. The -i options will give you design information about the specified battery. The syntax is:

acpiconf -i NUMBER-HERE

Here is sample output from my laptop running on FreeBSD 9 amd64:
$ acpiconf -i 0
Sample outputs

Design capacity:	8400 mAh
Last full capacity:	5695 mAh
Technology:		secondary (rechargeable)
Design voltage:		11100 mV
Capacity (warn):	840 mAh
Capacity (low):		254 mAh
Low/warn granularity:	84 mAh
Warn/full granularity:	84 mAh
Model number:		DELL 3M19002
Serial number:		2874
Type:			LION
OEM info:		Samsung SDI
State:			high 
Remaining capacity:	15%
Remaining time:		unknown
Present rate:		1 mA (11 mW)
Present voltage:	11248 mV

As a root user, enter:
# sysctl -a | grep -i battery

Gnome GUI tool – gnome-power-statistics

The gnome-power-statistics is the gui program for the gnome power management infrastructure. It allows users to visualize the power consumption of laptop hardware including battery status. Type the following command to view stats or click on GUI power icon located on top right side of the desktop screen:
$ gnome-power-statistics
Sample outputs:

🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.

🐧 0 comments... add one

CategoryList of Unix and Linux commands
File Managementcat
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
0 comments… add one

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre> for code samples. Problem posting comment? Email me @