The following linux commands will help you to obtain the information about your laptop battery such as manufacturer, part type, capacity, voltage etc. First, tool which can be used for this job is dmidecode
command. If you currently do not have dmidecode
available on your Linux system you can install it by:
UBUNTU/DEBIAN
# apt-get install dmidecode
CENTOS/FEDORA
# yum install dmidecode
next, using dmidecode
we can obtain some hardware information about our battery:
# dmidecode -t 22
# dmidecode 2.12
SMBIOS 2.6 present.
Handle 0x002E, DMI type 22, 26 bytes
Portable Battery
Location: Rear
Manufacturer: LGC
Name: 42T4942
Design Capacity: 93240 mWh
Design Voltage: 11100 mV
SBDS Version: 03.01
Maximum Error: Unknown
SBDS Serial Number: 073C
SBDS Manufacture Date: 2012-03-23
SBDS Chemistry: LION
OEM-specific Information: 0x00000000
Read more