Note: Commands are case sensitive, if something is written with CAPS ON, it simply implies that it is to be written in the CAPITALS.
To check the battery status:
- upower -i /org/freedesktop/UPower/devices/battery_BAT0
- upower -i `upower -e | grep ‘BAT’`
To check the battery current health status:
- sudo apt-get install acpi
- acpi -V
Check more commands associated with acpi:
- acpi –help
Check CPU Details:
- sudo dmidecode |grep Version