[Others] Cap AI renderer CPU automatically on battery V25.2.2
Product Feedback 25 views · 1 replies ·
深度之家
deepin
11 hours ago
Author
[System Version]: deepin V25.2.2
Follow-up to "AI window triples power draw on blocklisted GPUs"
Tried: a cgroup v2 quota on the assistant's renderer processes
(cpu.max = 60000 100000, i.e. 60% of one core). Measured while streaming:
temperature ~70 C -> ~58-60 C
system draw ~44 W -> ~33 W
fan ramps -> mostly silent
rendering baseline -> ~40% slower, no stutter
Suggested behaviour:
1. On battery: cap at 60% of one core.
2. On mains: release the cap and render at full speed.
3. Manual override, dropped when the power source next changes.
4. A visible indicator showing the state, one click to toggle.
Notes: no root needed (delegated cgroup); select renderers by process tree, not
command line, since the renderer lacks application-name=uos-ai-assistant; re-apply
every ~5 s as new renderers appear; leave other QtWebEngine apps untouched.
Why it matters: blocklisted GPUs are common (any Intel older than Skylake), and
those are exactly the laptops where battery life is tightest.