开发者

Altering Android offline battery charging display (playlpm)

开发者 https://www.devze.com 2023-04-06 11:50 出处:网络
I\'m using a ViewSonic Viewpad 7 Android tablet for an application where I\'d like the tablet to power on whenever it has been turned off and power is then provided. A bit of Googling revealed that I

I'm using a ViewSonic Viewpad 7 Android tablet for an application where I'd like the tablet to power on whenever it has been turned off and power is then provided. A bit of Googling revealed that I could alter the executable /system/bin/playlpm (apparently the program responsible for showing the battery charging display when the device is off, but plugged in) to contain a simple shell script like so:

#!/system/bin/sh
/system/bin/reboot

In any event, the playlpm executable seems only to be present on Samsung devices, and not on anything 开发者_运维百科else. Does anyone know that the more widely-used executable or other means used to display the battery indicator would be (and how it could be modified)?

0

精彩评论

暂无评论...
验证码 换一张
取 消