Now X201 is used, and Ubuntu10.04 is installed. I changed the 9-core Battery two days ago. I want to see if there is no charge and the percentage of the charge cannot be seen. Later I found the following method, which is worth staying, slave :-) in ubuntu, all battery information is recorded in the file in the/proc/acpi/battery/BAT0/folder, as if the notebook was BAT0, because most of them only have one battery, this folder contains three alarminfostate files. Enter c in the terminal.
Now X201 is used, and Ubuntu 10.04 is installed. I changed the 9-core Battery two days ago. I want to see if there is no charge and the percentage of the charge cannot be seen. Later I found the following method, it is worth staying, standby :-),
In ubuntu, all battery-related information is recorded in the file in the/proc/acpi/battery/BAT0/folder. It seems that all the laptops are BAT0, because most of them only have one battery, this folder contains three alarm info state files. Enter the following files in the terminal:
Cat/proc/acpi/battery/BAT0/info
Present: yes
Design capacity: 8424 mAh
Last full capacity: 8492 mAh
Battery technology: rechargeable
Design voltage: 10800
Design capacity warning: 424 mAh
Design capacity low: 18 mAh
Cycle count: 0
Capacity granularity 1: 1 mAh
Capacity granularity 2: 1 mAh
Model number: 42T4649
Serial number: 261
Battery type: LION
OEM info: SANYO
Cat/proc/acpi/battery/BAT0/state
Present: yes
Capacity state: OK
Charging state: discharging
Present rate: 1555 mA
Remaining capacity: 1631 mAh
Present voltage: 11094 mV
Cat/proc/acpi/battery/BAT0/alarm
Alarm: 424 mAh
Take a look at the details, better than Thinkpad's own, ^ _ ^. In addition, we found a graphical interface, as shown below:
Alt + F2, enter "gnome-power-statistics"