Insomnia

Insomnia is essentially a remake of LineageOS' Caffeine Tile, but with a few extra features.

Caffeine is a feature that allows users to force their device's display to remain on for longer than the currently set timeout, but without actually changing that timeout. If the display is manually turned off, Caffeine deactivates automatically.

Insomnia works on the same principle. Through the use of a Quick Settings Tile, you can use Insomnia to cycle through predefined screen timeout overrides: 1, 5, 10, 30 and infinite minutes. However, if you want to set your own timeout (say 1 or 2 hours), or you want to remove some of the predefined timeouts, you can do that!

Simply long-press on the added Tile and Insomnia's configuration will appear.

Insomnia doesn't need root or even ADB commands; it barely needs any set up at all. If you download from the Play Store, it's completely plug-and-play. Just add the Tile to your Quick Settings and activate it!

Insomnia uses a display overlay (SYSTEM_ALERT_WINDOW) in order to work. The overlay is a simple single, transparent pixel that is positioned offscreen, and you shouldn't even notice it's there.

If you need help, watch this quick video which shows how to add the Tile: https://youtu.be/gPWAUzEJDkY=
Your interface may not look the same, but the general process applies to all devices running Nougat or later.

PLEASE NOTE: If you are using an ASUS ZenFone, you may need to reboot after installing Insomnia for the Tile to appear. This is a bug in ZenUI!

Insomnia is open source! Check it out on GitHub: https://github.com/zacharee/Insomnia
Insomnia is also available on XDA Labs: https://labs.xda-developers.com/store/app/com.zacharee1.insomnia
XDA Thread: https://forum.xda-developers.com/general/paid-software/android-7-0-insomnia-t3831416
Read more
Collapse
Loading...

What's New

Fix bug where adding time or undoing removal of time wouldn't save
Add option to switch to infinite time when device is plugged in
Read more
Collapse

Additional Information

Eligible for Family Library
Eligible if bought after 7/2/2016. Learn More
Updated
August 24, 2018
Size
2.3M
Installs
50+
Current Version
1.3
Requires Android
7.0 and up
Content Rating
Everyone
Permissions
Offered By
Zachary Wander
Developer
23 Race Street Frenchtown, NJ 08825
©2019 GoogleSite Terms of ServicePrivacyDevelopersArtistsAbout Google|Location: United StatesLanguage: English (United States)
By purchasing this item, you are transacting with Google Payments and agreeing to the Google Payments Terms of Service and Privacy Notice.