填充存储空间:
adb shell dd if=/dev/zero of=sdcard/file bs=1024000 count=1024
1.修改count大小的值,1G=1024,要填充多少自己计算;
2.file是文件名
录屏:
adb shell screenrecord /sdcard/test.mp4
截图:
adb shell screencap -p /sdcard/screen.png
设置电池电量:
adb shell dumpsys battery set level 20
更改休眠时间,10分钟
adb shell settings put system screen_off_timeout 600000
网友评论