惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

aimingoo的专栏
aimingoo的专栏
月光博客
月光博客
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
阮一峰的网络日志
阮一峰的网络日志
博客园_首页
Last Week in AI
Last Week in AI
The Cloudflare Blog
IT之家
IT之家
Hugging Face - Blog
Hugging Face - Blog
美团技术团队
S
SegmentFault 最新的问题
量子位
大猫的无限游戏
大猫的无限游戏
Recent Announcements
Recent Announcements
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Microsoft Security Blog
Microsoft Security Blog
云风的 BLOG
云风的 BLOG
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
I
InfoQ
人人都是产品经理
人人都是产品经理
G
Google Developers Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Engineering at Meta
Engineering at Meta

sakurawald's blog

fix-window-tearing-in-high-monitor-refresh-rate fix-nvidia-drm-issues fix-screen-brightness-too-low Fix sddm black screen issue comparing-emacs-and-idea-in-java-development-environment how to fix corrupted packages in archlinux how to let chrome browser auto clean datas on exit make persistent windows 11 usb sticker pin refresh rate of an android phone launch tor browser without tor network rescue a corrupted system after forced shutdown during system upgrade apple magic touch pad review guide to install qubes on qemu optimize minecraft server configuration tweak KDE preferences android emulator methods in linux expression evulation
fix the cpu frequency throttle after bad charging
2024-09-25 · via sakurawald's blog

Observation

My cpu frequency is locked to 400mhz for all cores, even the cpu governor is set to performance policy.
The power profile in x11 is also set to performance.
Before this happens, I just charge my laptop via a bad power supply (which shows not in charging, the power supply is just enough to keep the balance.), and the battery is low.

I try to disable the powersave management in bios, and reboot the laptop, the problems remains the same.

It seems like its a hardware bug about the power adapter, when the ac is plug-in, the hardware will notify the cpu clock and sets its policy to performance policy in hardware-level, and if the ac is plug-out, sets to powersave policy.

The key point is that, after a bad power supply, the hardware detects something wrong, it thinks the power adapter is always off, and writes this data into the hardware storage, so there is nothing to do with the software-level.

Solution

Keep pressing the power button, and reset the bios. (This also resets all the data stored in the hardware-level.)