Caffeine toggle #95

Closed
opened 4 years ago by Montblanc · 5 comments

I was really in love with a feature present in an old CyanogenMod based ROM, I used it all day on my good old OnePlus One.

It was a toggle for a feature named "Caffeine". It was placed in the quick toggles drop down menu, and it had a coffee cup icon (of course).

You have most probably already heard of it, but I'll explain it anyways.

It simply allowed you to keep the screen on (overriding the default screen on timings) for a certain amount of time. It was very useful if you had your hands busy and wanted to keep the screen on without changing the screen on time from the android settings back and forth.

It had 4 states, as I recall:

Disabled 5 minutes 10 minutes 30 minutes

E.g.: putting it on 5 minutes will keep the screen active for 5 minutes (the toggle also had a countdown, after a while it turned back to disabled). When the 5 minutes are over, the regular android settings for your screen on time are restored.

I know many could live just fine without it, but I would love seeing this feature on MIUI.

P.S.: i have just discovered you are the same guy behind sudohide. So hats off and always keep up the good work! 👍

I was really in love with a feature present in an old CyanogenMod based ROM, I used it all day on my good old OnePlus One. It was a toggle for a feature named "Caffeine". It was placed in the quick toggles drop down menu, and it had a coffee cup icon (of course). You have most probably already heard of it, but I'll explain it anyways. It simply allowed you to keep the screen on (overriding the default screen on timings) for a certain amount of time. It was very useful if you had your hands busy and wanted to keep the screen on without changing the screen on time from the android settings back and forth. It had 4 states, as I recall: Disabled 5 minutes 10 minutes 30 minutes E.g.: putting it on 5 minutes will keep the screen active for 5 minutes (the toggle also had a countdown, after a while it turned back to disabled). When the 5 minutes are over, the regular android settings for your screen on time are restored. I know many could live just fine without it, but I would love seeing this feature on MIUI. P.S.: i have just discovered you are the same guy behind sudohide. So hats off and always keep up the good work! :+1:
Owner
Have you tired 3rd party apps first? Android has an API to add QS toggles, any app could do that. https://play.google.com/store/apps/details?id=xyz.omnicron.caffeinate https://play.google.com/store/apps/details?id=it.simonesestito.ntiles https://play.google.com/store/apps/details?id=com.rascarlo.quick.settings.tiles
Poster

Thanks for the tips. I tried the ones above and some others too, but none of them did satisfy me. For example, Caffeinate only has incremental steps and you have to rely on a notification to disable it, Quick Settings would crash or show a popup to select timings, other tile apps were just sluggish or didn't work without a notification, others asked permission to change system settings and would override the default screen on time. The one in CM was so clean and it felt like it was integrated, it acted as a process and not as an app, no notifications shown, and that is the one thing I miss in MIUI. It was also so simple, even if you could not edit the timings, to have just 4 options to switch from. Of course, if this feature would just benefit me and no one else, please feel free to reject.

Thanks for the tips. I tried the ones above and some others too, but none of them did satisfy me. For example, Caffeinate only has incremental steps and you have to rely on a notification to disable it, Quick Settings would crash or show a popup to select timings, other tile apps were just sluggish or didn't work without a notification, others asked permission to change system settings and would override the default screen on time. The one in CM was so clean and it felt like it was integrated, it acted as a process and not as an app, no notifications shown, and that is the one thing I miss in MIUI. It was also so simple, even if you could not edit the timings, to have just 4 options to switch from. Of course, if this feature would just benefit me and no one else, please feel free to reject.
Mikanoshi added the
Hazy
Suggestion
labels 4 years ago
Mikanoshi changed title from [Request] Caffeine toggle to Caffeine toggle 4 years ago
Owner

Maybe, if I have nothing else to do :)

Maybe, if I have nothing else to do :)
Poster

Please, don't tease me, I might want to marry you.

Please, don't tease me, I might want to marry you.
Owner
Ok =) All such mods are here: https://code.highspec.ru/Mikanoshi/CustoMIUIzer/issues?q=&type=all&state=closed&labels=4&milestone=0&assignee=0
Mikanoshi closed this issue 4 years ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Mikanoshi/CustoMIUIzer#95
Loading…
There is no content yet.