Thursday, 29 June 2017

DOS Mode Setup

$ ./adb shell dumpsys battery unplug
$ ./adb shell dumpsys battery
Must device power off then command
$ ./adb shell dumpsys deviceidle enable
$ ./adb shell dumpsys deviceidle step
Stepped to: IDLE_PENDING (again $ ./adb shell dumpsys deviceidle step)
Stepped to: SENSING (again $ ./adb shell dumpsys deviceidle step)
Stepped to: LOCATING (again $ ./adb shell dumpsys deviceidle step)
Stepped to: IDLE_MAINTENANCE (again $ ./adb shell dumpsys deviceidle step)
Stepped to: IDLE (No more any command cz this is idel state)
Ok :) successfully idle state

force-idle:
$ ./adb shell dumpsys deviceidle force-idle
$ ./adb shell dumpsys deviceidle

Back to normal state:
$ ./adb shell dumpsys deviceidle disable
$ ./adb shell dumpsys battery reset

No comments:

Post a Comment