Linux-Mint
筆記型電腦電池沒有從 59% 上升(即顯示錯誤的電池統計數據)
我在聯想 z500 上使用 Linux Mint-17.2。我修復了 Nvidia gpu 問題(成功安裝了 bbswitch)並修復了螢幕背光問題,所以我只剩下這個電池問題了。電池指示燈不卡住;當我拔下電源線時它會降低電量,但它只充電到 59% 並且不會再充電了。
sooorajjj@Treako ~/Desktop/AOSP $ upower --enumerate /org/freedesktop/UPower/devices/line_power_ACAD /org/freedesktop/UPower/devices/battery_BAT1 sooorajjj@Treako ~/Desktop/AOSP $ upower -i /org/freedesktop/UPower/devices/battery_BAT1 native-path: BAT1 vendor: LENOVO model: PABAS0241231 serial: 41167 power supply: yes updated: Sunday 04 October 2015 02:17:32 PM IST (27 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable: yes state: charging energy: 25.62 Wh energy-empty: 0 Wh energy-full: 43.05 Wh energy-full-design: 45.82 Wh energy-rate: 0.0171658 W voltage: 15.009 V percentage: 59% capacity: 93.9546% technology: lithium-ion
編輯:添加更多資訊
sooorajjj@Treako ~/Desktop/AOSP $ acpi -i Battery 0: Unknown, 59% Battery 0: design capacity 3092 mAh, last full capacity 2905 mAh = 93% sooorajjj@Treako ~/Desktop/AOSP $ acpi -V Battery 0: Unknown, 59% Battery 0: design capacity 3092 mAh, last full capacity 2905 mAh = 93% Adapter 0: on-line Thermal 0: ok, 54.0 degrees C Thermal 0: trip point 0 switches to mode critical at temperature 127.0 degrees C Thermal 0: trip point 1 switches to mode hot at temperature 127.0 degrees C Cooling 0: x86_pkg_temp no state information available Cooling 1: intel_powerclamp no state information available Cooling 2: Processor 0 of 10 Cooling 3: Processor 0 of 10 Cooling 4: Processor 0 of 10 Cooling 5: Processor 0 of 10
電池狀態未知::(
sooorajjj@Treako ~/Desktop/AOSP $ cat /sys/class/power_supply/BAT1/status Unknown sooorajjj@Treako ~/Desktop/AOSP $ cat /sys/class/power_supply/BAT1/uevent POWER_SUPPLY_NAME=BAT1 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=14818000 POWER_SUPPLY_POWER_NOW=655350000 POWER_SUPPLY_ENERGY_FULL_DESIGN=45820000 POWER_SUPPLY_ENERGY_FULL=43050000 POWER_SUPPLY_ENERGY_NOW=25620000 POWER_SUPPLY_CAPACITY=59 POWER_SUPPLY_CAPACITY_LEVEL=Normal POWER_SUPPLY_MODEL_NAME=PABAS0241231 POWER_SUPPLY_MANUFACTURER=LENOVO POWER_SUPPLY_SERIAL_NUMBER=41167 sooorajjj@Treako ~/Desktop/AOSP $
更多電腦資訊
sooorajjj@Treako ~/Desktop/AOSP $ inxi -Fxz System: Host: Treako Kernel: 3.16.0-38-generic x86_64 (64 bit, gcc: 4.8.2) Desktop: Cinnamon 2.6.13 Distro: Linux Mint 17.2 Rafaela Machine: System: LENOVO product: VIWZ1 version: INVALID Mobo: LENOVO model: INVALID version: 31900006WIN8 STD MBR IPG Bios: LENOVO version: 71CN51WW(V1.21) date: 07/12/2013 CPU: Dual core Intel Core i5-3230M CPU (-HT-MCP-) cache: 3072 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 10375.8 Clock Speeds: 1: 1240.890 MHz 2: 1859.507 MHz 3: 1342.250 MHz 4: 1338.085 MHz Graphics: Card: Intel 3rd Gen Core processor Graphics Controller bus-ID: 00:02.0 X.Org: 1.15.1 drivers: intel (unloaded: fbdev,vesa) Resolution: 1366x768@60.0hz GLX Renderer: Mesa DRI Intel Ivybridge Mobile GLX Version: 3.0 Mesa 11.0.1 Direct Rendering: Yes Audio: Card: Intel 7 Series/C210 Series Family High Definition Audio Controller driver: snd_hda_intel bus-ID: 00:1b.0 Sound: Advanced Linux Sound Architecture ver: k3.16.0-38-generic Network: Card-1: Qualcomm Atheros AR9485 Wireless Network Adapter driver: ath9k bus-ID: 03:00.0 IF: wlan0 state: up mac: <filter> Card-2: Realtek RTL8101E/RTL8102E PCI Express Fast Ethernet controller driver: r8169 ver: 2.3LK-NAPI port: 2000 bus-ID: 02:00.0 IF: eth0 state: down mac: <filter> Card-3: Atheros usb-ID: 001-006 IF: N/A state: N/A speed: N/A duplex: N/A mac: N/A Drives: HDD Total Size: 1000.2GB (3.1% used) 1: id: /dev/sda model: ST1000LM024_HN size: 1000.2GB Partition: ID: / size: 29G used: 6.3G (24%) fs: ext4 ID: /boot size: 373M used: 48M (14%) fs: ext2 ID: /home size: 460G used: 23G (6%) fs: ext4 ID: swap-1 size: 18.00GB used: 0.04GB (0%) fs: swap RAID: No RAID devices detected - /proc/mdstat and md_mod kernel raid module present Sensors: System Temperatures: cpu: 56.0C mobo: N/A Fan Speeds (in rpm): cpu: N/A Info: Processes: 214 Uptime: 23:14 Memory: 1142.1/3814.5MB Runlevel: 2 Gcc sys: 4.8.4 Client: Shell (bash 4.3.11) inxi: 1.9.17
所以回答我的問題這就是我所做的,雙啟動 Windows 然後安裝聯想能源管理將電池設置更改為“最長電池壽命”。在“優化電池健康”中,充電鎖定為 60%,60% 後將顯示已插入,未充電
對於那些不想雙啟動到 Windows 的人
很遺憾,收費門檻值是特定於韌體和供應商的。
幸運的是,聯想使用者獲得了 ThinkWiki 上概述的解決方案。
它基本上說您必須安裝和載入 tp_smapi 核心模組:
git clone https://github.com/teleshoes/tpacpi-bat.git cd tpacpi-bat/ ./install.pl
並寫入所需的充電門檻值
sudo ./tpacpi-bat -s ST 1 15 # load internal battery when below 15% sudo ./tpacpi-bat -s SP 1 95 # stop charging at 95% sudo ./tpacpi-bat -g ST 2 # when is external battery loaded?
達到95%就停止充電,低於15%才開始充電
作為參考,我在 debian 和 Linux Mint 測試中進行了此操作,但我確信它在 ubuntu 中也同樣有效。