Skip to content

Instantly share code, notes, and snippets.

View msm81's full-sized avatar
🏠
Working from home

Mohammad Sina Moradi msm81

🏠
Working from home
View GitHub Profile
@y-polek
y-polek / doze_mode_adb_commands.sh
Last active October 15, 2024 14:32
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