This project must be used in conjunction with the repository.
An Android app that lets you monitor your phone's battery from a PC command line.
- python 3
- android 7.0以上
Download the latest pre-release from the releases page. Or Build the project by yourself.
git clone https://github.com/DEPhantom/BatteryMonitor.gitTo use Battery Monitor, follow these steps:
- Connect the device to your PC via ADB
- Disable Doze Mode using the following command:
adb shell dumpsys deviceidle disable- You should see the following output:
Deep idle mode disabled
Light idle mode disabledNote
P.S. This needs to be done every time the device restarts.
- After installation, make sure to:
-
Enable notifications
-
Turn on notification sounds
-
Allow notifications on the lock screen
5. 電源白名單
Warning
Some features may not work on Android 7–8, 10–13
