我在 Lenovo 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: [email protected]
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
答案1
因此,为了回答我的问题,这就是我所做的,双启动 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 中也同样有效。