电源设置面板显示电池状态错误

分享于 

4分钟阅读

ubuntu

  繁體

问题

电池指示灯的状态存在一些问题。

我列出了电池状态的一些信息,如下所示:


$ 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



电池指示灯状态

enter image description here

电源设置面板

enter image description here

有什么方法可以解决这个问题?

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|


---------------+-----+-----+-----+-----+-----+-----+



我运行了以下脚本。


$ 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



两张bios的照片

enter image description here

enter image description here

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




答案1

尝试使用fwts测试环境:


sudo add-apt-repository ppa:firmware-testing-team/ppa-fwts-stable


sudo apt-get update


sudo apt-get install fwts



阅读:Kernel Reference fwts


 acpi


 noefi


 acpi_osi


 apm 



内核引导参数文档

你也可以尝试用acpi程序测试输出参数:


sudo apt-get install acpi


acpi -V





STA  SET  显示  PAN  bat  PANE  
相关文章