Skip to content

DrKein/StayOn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StayOn

A Tiny app for developers who are dissatisfied with 'Settings > Developer Options > Stay awake when charging' option. This option keep screen on while just charging.

But, this app will keep screen on while just PC-USB is attached.

  • This app will listen ACTION_POWER_CONNECTED and DISCONNECTED
  • Acquire wake lock while pc usb is attached, and release wake lock when detached.
  • It may take some time to listen event. in my case, Nexus 5x takes about 3 minutes, but Galaxy S4 take few seconds.
  • If your phone can not distinguish AC connected and USB connected, this app may not work properly.

Screen Shots

screenshot screenshot

Play Store

About

Keep screen on when PC-USB is attached

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published