Question: how to check laptop battery life in linux?
Answer: Linux check battery command. Type the following command: ... 
See ac adapter information. $ acpi -a. ... 
Show thermal information. $ acpi -t. ... 
Use /proc/acpi/ directory to get laptop battery info (deprecated method) ... 
Use /sys/class/power_supply/BAT0/ directory to get battery info.