Glossary
PowerLog
PowerLog is the iOS battery accounting database (CurrentPowerlog.PLSQL) that samples app runtime, screen, camera, torch and charging state.
PowerLog is the iOS subsystem that measures energy use so that Settings can show battery usage per app. Its data sits in CurrentPowerlog.PLSQL, a SQLite database in a system group container under Library/BatteryLife/, with gzipped archives of older periods next to it. Copies are also included in every sysdiagnose under logs/powerlogs/.
The database holds many narrow tables named PL<Agent>_<EventType>_<Name>: app runtime in the foreground and background, screen state with the frontmost app, battery level and charging, camera, torch, audio routes, location clients, push messages and more. This makes PowerLog an independent pattern-of-life source alongside Biome and knowledgeC.
Timestamps are Unix seconds on PowerLog's internal clock and must be corrected with the offset recorded in PLStorageOperator_EventForward_TimeOffset. Retention is days in the live file and weeks with archives. Parsers include iLEAPP and APOLLO. See PowerLog.