Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
电源状态感知失灵
Experiences and Insight
424
views ·
3
replies ·
To
floor
Go
russrao
deepin
2019-05-28 03:29
Author
从15.9就开始了,插抜电源,电池icon不会改变状态,而且电源计划也按插抜前的状态进行不会调节。有什么办法么?发了一次帖没有人回
Reply
Like 0
Favorite
View the author
All Replies
aida
deepin
2019-05-28 18:44
#1
您的反馈已经收到,谢谢!
https://bbs.deepin.org/user/33072
https://bbs.deepin.org/user/27275
https://bbs.deepin.org/user/33250
https://bbs.deepin.org/user/5284
https://bbs.deepin.org/user/31012
https://bbs.deepin.org/user/114126
https://bbs.deepin.org/user/13250
Reply
Like 0
View the author
湘巴佬儿
deepin
2019-05-28 19:09
#2
是的,笔记本上通病了。
Reply
Like 0
View the author
russrao
deepin
2019-05-31 03:53
#3
个人做了些研究,应该问题出在acpi 上,运行 acpi_listen,插拔电源没有监听到socket事件。查了些资料,应该和Bios有关。临时解决方案是,写个cron脚本,用tlp-stat -s 命令看电源状态,如果Mode 和 Power source值不一致,一个是AC,一个是 battery,说明电源线插拔过。然后运行 tlp start && systemctl restart u power.service命令,电源状态更新完成,dock图标也更新了。因为cron 只能到分钟,要插拔后一两秒切换,可以放在while do... sleep 2 done里面
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Events
More