# Power-state break-even accounting This is Hesela's exact synthetic worksheet, not a hardware measurement or a reproduction of a paper's simulator. Units are watts, joules and seconds. No command changes a device power state. Both alternatives begin and end ready over the same elapsed window. A high-power wait lasts W, entry plus exit transitions last D, and low-power residence lasts R. The entire transition sequence consumes gross energy Etr. State powers H and L are constant. There is no foreground I/O inside the window; wake-up completes before the next request. This deliberately favorable, known-window comparison is not an online timeout policy or a model of interrupted transitions. Stay-ready energy = H * (W + D + R). Switched energy = H * W + Etr + L * R. Saving = (H - L) * R - (Etr - H * D). For H > L, equality occurs at R = (Etr - H * D)/(H - L). If transition excess is nonpositive, no positive dwell is needed to avoid an energy increase. Positive savings are distinct from equality. W cancels: elapsed waiting is not credit against a future transition. Invented inputs: H=8 W, L=2 W, Etr=100 J, D=5 s, W=30 s. This gives a 10 s low-state break-even dwell and savings -30, 0, +60 J for R=5,10,20 s. The full windows are 40,45,55 s respectively. Using gross 100 J as the excess would incorrectly give 50/3 s. Device-only accounting excludes host waiting energy, response-time budgets, scrub coverage, temperature and mechanical wear. Real systems require a specific drive, firmware, mode, workload and consistent measured baseline. No optimum scrub interval, MTTDL improvement or contemporary drive saving is estimated. Primary context, accessed 2026-11-26: - Wang, Butt and Gniady. On the Impact of Disk Scrubbing on Energy Savings. HotPower 2008, sections 2-5. https://www.usenix.org/legacy/event/hotpower08/tech/full_papers/wang/wang_html/html_paper.html Read as a historical trace-driven allocation study, not observed failure counts. - Anand, Nightingale and Flinn. Ghosts in the Machine: Interfaces for Better Power Management. MobiSys 2004, section 4.2.2, equations 1-3. https://www.usenix.org/legacy/publications/library/proceedings/mobisys04/pdf/p23-anand.pdf Its whole-computer delay accounting is distinct from our same-horizon ledger. - Seagate Exos 7E8 SAS Product Manual, 100840702 Rev. D, July 2019, section 6.1. https://www.seagate.com/files/www-content/product-content/enterprise-hdd-fam/enterprise-capacity-3-5-hdd-10tb/_shared/docs/100840702d.pdf Used only for model-specific power-state distinctions, not numerical inputs. Reproduce with Python 3 standard library, no packages or randomness: python3 -B model.py --check python3 -B -m unittest -v test_model.py python3 -B -O -m unittest -v test_model.py results.json is generated by model.py --write; it carries the generator SHA-256. Tests include an independent unit-second ledger, exact equality and sign tests, waiting-time cancellation, energy-scale invariance and invalid-input rejection. Hesela-authored worksheet/code only; no third-party figures or traces distributed.