| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| pkgpower [2026/10/07 12:18] – [PkgPower] admin | pkgpower [2026/10/07 12:28] (current) – [Troubleshooting] admin |
|---|
| </code> | </code> |
| |
| Notes: | === Misc === |
| * ''plasmoidviewer'' console noise (DeclarativeDropArea overrides, isScreenUiReady errors, nullptr disconnect) comes from KDE's stock desktopcontainment inside the viewer, not from this applet. Judge only ''file:///home/...'' lines. | |
| | * ''plasmoidviewer'' console noise (DeclarativeDropArea overrides, isScreenUiReady errors, nullptr disconnect) comes from KDE's stock desktopcontainment inside the viewer, not from this applet. Judge only file:-home-... lines. |
| * Clicking mode buttons in the viewer is live fire (NOPASSWD sudo); the icon flips within ~3 s (poll interval). | * Clicking mode buttons in the viewer is live fire (NOPASSWD sudo); the icon flips within ~3 s (poll interval). |
| |
| * **udev rule silently misfires** — check the journal for SELinux denials. | * **udev rule silently misfires** — check the journal for SELinux denials. |
| * **Changing wattages** — edit the ''case'' table in the script; everything else follows. | * **Changing wattages** — edit the ''case'' table in the script; everything else follows. |
| * **Paste gremlins** — ''bash -n /usr/local/bin/pkgpower'' must stay silent; check for smart quotes or stray ``` fence lines if the script misbehaves. | |
| * Lighter-touch alternatives: ''/sys/devices/system/cpu/intel_pstate/max_perf_pct'' (frequency cap, %) and ''/sys/devices/system/cpu/intel_pstate/no_turbo'' (turbo switch). A low PL2 already tames bursty surging without killing turbo entirely. | * Lighter-touch alternatives: ''/sys/devices/system/cpu/intel_pstate/max_perf_pct'' (frequency cap, %) and ''/sys/devices/system/cpu/intel_pstate/no_turbo'' (turbo switch). A low PL2 already tames bursty surging without killing turbo entirely. |
| |
| ==== Related on this machine ==== | |
| |
| * Battery charge thresholds **50 (start) / 60 (stop)** set in KDE Power settings (EC-enforced; deliberately not TLP — powerdevil double-writer + TLP/power-profiles-daemon package conflict). Before extended unplugged use, temporarily raise stop → 100 then start → 99 (order matters — the EC only charges below the *start* threshold), restore 50/60 afterwards. | |
| * Baseline battery health 2026-10-06: 99.96% (74.97 / 75 Wh), 4 cycles (Sunwoda pack). | |
| * History: this setup replaces ''acpower.sh'' / ''fifteenwatt.sh'' / ''tenwatt.sh'' from the previous %%ZBook%% (i7-1360P) era, which wrapped ''undervolt -p1/-p2''. | |