Skip to content

Instantly share code, notes, and snippets.

View am3n's full-sized avatar
🙂

Amirhosein Barati am3n

🙂
View GitHub Profile
@am3n
am3n / doze_mode_adb_commands.sh
Last active September 24, 2021 12:46 — forked from y-polek/doze_mode_adb_commands.sh
adb commands to test Doze mode
#! /bin/zsh
# Buttery powered state
adb shell dumpsys battery | grep powered
# Unplug battery
adb shell dumpsys battery unplug
# Reset battery
adb shell dumpsys battery reset