Battery & Power Android 5.0+ Risk: MODIFIES_DEVICE

Set Battery State to 100% Full

Simulates fully charged battery state.

Command Syntax

adb shell dumpsys battery set status 5
Generic Syntax: dumpsys battery set status 5

Real-World Usage Examples

Run command
Simulates fully charged battery state.
adb shell dumpsys battery set status 5