Tagged articles
3 articles
Page 1 of 1
Huolala Tech
Huolala Tech
Dec 27, 2022 · Mobile Development

How to Pinpoint Android App Power Drain with Custom ASM Instrumentation

This article explains a comprehensive approach to detecting and analyzing Android app power consumption by combining official power profiling, custom metrics, and bytecode instrumentation to capture API usage, caller information, and timing for modules such as Bluetooth, CPU, location, sensors, wakelocks, and alarms.

InstrumentationSensorWakeLock
0 likes · 26 min read
How to Pinpoint Android App Power Drain with Custom ASM Instrumentation
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Dec 23, 2022 · Mobile Development

Android Power Management: Power States, WakeLock, and Suspend/Resume Mechanisms

The article explains Android’s power management architecture, detailing kernel power states, CPU and device idle modes, the multi‑layer framework, WakeLock types and flags, and the early‑suspend/late‑resume mechanisms, while providing commands and examples for monitoring and controlling device sleep behavior.

AndroidDoze ModeIdle State
0 likes · 11 min read
Android Power Management: Power States, WakeLock, and Suspend/Resume Mechanisms