Linux power_supply Sysfs: Interpret Battery and Charger Telemetry Correctly
Read Linux power_supply attributes with correct units and semantics, distinguish charger online state from battery status, and validate telemetry quality.
tag
15 posts
Read Linux power_supply attributes with correct units and semantics, distinguish charger online state from battery status, and validate telemetry quality.
Diagnose Linux RTC behavior by distinguishing /dev/rtcN devices, wall-clock time, UTC policy, ioctl alarms, and hardware wake capability.
Test FreeBSD ACPI sleep states with console safeguards, supported-state checks, suspend-bounce diagnostics, driver isolation, and post-resume validation.
Diagnose FreeBSD CPU frequency drivers, choose safe powerd or hardware-managed policies, and verify performance, thermals, and AC/battery behavior.
Diagnose Linux CPU performance scaling by separating CPUFreq policies, governors, driver requests, hardware limits, and measured workload behavior.
Understand Linux CPUIdle state selection by correlating target residency, exit latency, timer prediction, and power-management QoS constraints.
Implement Linux device runtime power management with balanced usage references, autosuspend policy, parent-child dependencies, and observable recovery.
Troubleshoot Linux suspend-to-disk by validating swap image capacity, resume device and offset, initramfs ordering, and repeated platform tests.
Measure Linux powercap energy domains with wrap-aware sampling, map RAPL zones correctly, and separate observed energy from power-limit controls.
Choose and diagnose Linux system suspend variants by separating s2idle, standby, and suspend-to-RAM behavior, wake sources, and platform support.
Use Windows EcoQoS deliberately for deferrable work, understand its scheduler and power effects, and validate responsiveness instead of lowering priority blindly.
Use powercfg SleepStudy to investigate Modern Standby sessions, distinguish screen-off activity from sleep residency, and corroborate component-level battery drain.
Use Windows power requests with explicit reason strings and balanced clear operations, while respecting Modern Standby, user sleep, battery, and shutdown policy.
Choose the right macOS IOPM assertion, bound its lifetime, release it reliably, and diagnose which process is keeping a Mac awake.
A hardware-aware guide to FDAPM information, idle modes, standby, suspend, poweroff, reboot, disk handling, and cache safety on FreeDOS.