- #MAC TERMINAL COMMANDS TO CHECK BATTERY LIFE INSTALL#
- #MAC TERMINAL COMMANDS TO CHECK BATTERY LIFE FULL#
Let us check battery status thermal information using Linux command line. Showing thermal information about Linux battery The above output indicates that laptop is plugged in use i.e. Try the following command on Linux to get laptop battery ac adapter status: Sample outputs: Battery 0: Charging, 17%, 01:20:06 until charged See ac adapter information on Linux Thermal 0: trip point 0 switches to mode critical at temperature 107.0 degrees C
#MAC TERMINAL COMMANDS TO CHECK BATTERY LIFE FULL#
Here is what I see on my ThinkPad Laptop powered by Ubuntu Linux desktop operating system: Battery 0: Full, 100%īattery 0: design capacity 8400 mAh, last full capacity 8044 mAh = 95% Type the following command to get battery related statistics on Linux: Processing triggers for man-db (2.9.1-1). 293991 files and directories currently installed.) Selecting previously unselected package acpitool.
Get:1 focal/universe amd64 acpitool amd64 0.5.1-5build1 The following NEW packages will be installed:Ġ upgraded, 1 newly installed, 0 to remove and 6 not upgraded.Īfter this operation, 147 kB of additional disk space will be used. Use 'sudo apt autoremove' to remove them. The following packages were automatically installed and are no longer required: For example:įrom my Ubuntu LTS 20.04 Linux powered ThinkPad laptop: password for vivek:
#MAC TERMINAL COMMANDS TO CHECK BATTERY LIFE INSTALL#
The acpi command may not be installed by default so use apt-get command or yum command/dnf command to install the same on Linux to check your laptop’s battery health. Updated: Tuesday 21 January 2014 06:01:52 PM IST (1757 seconds ago)ĭisplaying Linux Laptop Battery Status Using the apci terminal command Sample outputs: native-path: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0A:00/power_supply/BAT0 $ upower -i /org/freedesktop/UPower/devices/battery_BAT0 Type the following command to see Linux laptop battery status including vendor name and other info: Use upower command to check battery status from command line