My laptop is Thinkpad E420 with Ubuntu 12.04 64-bit installed, the kernel version is 3.2.0-33-generic. I have set the battery threshold as 60% via windows7. It seems that the threshold auto effected in Ubuntu. However, there are some problems of the battery indicator's state.
I'll list some information of the battery state as following: (Note that in terminal ubuntu says that battery charging state is charged, while the power setting panel shows that the battery state is charging as well as the battery indicator shows.)
$ cat /proc/acpi/battery/BAT0/state
present: yes
capacity state: ok
*charging state: charged*
present rate: 0 mW
remaining capacity: 18200 mWh
present voltage: 16103 mV
battery indicator state
Power Setting Panel
Is there any way to fix the problem?
Edit Add some result via **sudo fwts battery - > battery.log **
3 passed, 4 failed, 0 warnings, 0 aborted, 0 skipped, 0 info only.
Test Failure Summary
===============================
Critical failures: NONE
High failures: 2
battery: Did not detect any ACPI battery events.
battery: Could not detect ACPI events for battery BAT0.
Medium failures: 1
battery: Battery BAT0 claims it's charging but no charge is added
Low failures: 1
battery: System firmware may not support cycle count interface or it reports it incorrectly for battery BAT0.
Other failures: NONE
Test |Pass |Fail |Abort|Warn |Skip |Info |
---------------+-----+-----+-----+-----+-----+-----+
battery | 3| 4| | | | |
---------------+-----+-----+-----+-----+-----+-----+
Total: | 3| 4| 0| 0| 0| 0|
---------------+-----+-----+-----+-----+-----+-----+
Edit2 According to @Colin Ian King's suggestion, I have run following script.
$ cat /sys/class/power_supply/BAT0/uevent
POWER_SUPPLY_NAME=BAT0
POWER_SUPPLY_STATUS=Unknown
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_TECHNOLOGY=Li-ion
POWER_SUPPLY_CYCLE_COUNT=0
POWER_SUPPLY_VOLTAGE_MIN_DESIGN=14400000
POWER_SUPPLY_VOLTAGE_NOW=16075000
POWER_SUPPLY_POWER_NOW=0
POWER_SUPPLY_ENERGY_FULL_DESIGN=31680000
POWER_SUPPLY_ENERGY_FULL=22050000
POWER_SUPPLY_ENERGY_NOW=17860000
POWER_SUPPLY_MODEL_NAME=LNV-42T4763
POWER_SUPPLY_MANUFACTURER=SANYO
POWER_SUPPLY_SERIAL_NUMBER= 2614
I have taken two photos of the bios in case I have missed something.
The output of acpi -V
future$ acpi -V
Battery 0: Unknown, 89%
Battery 0: design capacity 1947 mAh, last full capacity 1339 mAh = 68%
Adapter 0: on-line
Thermal 0: ok, 31.0 degrees C
Thermal 0: trip point 0 switches to mode critical at temperature 120.0 degrees C
Cooling 0: LCD 3 of 15
Cooling 1: LCD 3 of 15
Cooling 2: Processor 0 of 10
Cooling 3: Processor 0 of 10
Cooling 4: Processor 0 of 10
Cooling 5: Processor 0 of 10
Any help would be appreciated!