- power profiler - cpu profiler
- record traces
 - find “System Tracing” in Developer Options in Settings
- choose “long tracings” and add the tile to quick settings
- choose necessary ones in Categories, such as idle, freq, power
- turn on/off tracing between some work, like sleeping
- adb shell pull /data/local/traces .
- load it in perfetto and check CPU, device state, system locks in system_erver
 
- dumpsys - adb shell dumpsys batterystats --reset
- adb shell dumpsys batterystats --enable full-wake-history
- do some work, like sleeping
- adb shell dumpsys batterystatsoutputs to a file
- check for “alarm” for wake alarms and “walarm” for non-wake alarms