Caffeine is for keeping your screen on for a defined time value.
Caffeine keeps you awake for
- 1 min
- 5 mins
- 10 mins
- 30 mins
- 1 hour
- and for infinite!
- App crashes on some devices while switching from infinite mode to inactive.
License: MIT License
This is exactly the app I was looking for! Why did you decide to EOL it? Was it the amount of time invested, or some bug that's too difficult to work around? Would love to see this maintained, though I haven't run into any bugs or anything, just wondering.
I'd like to submit a request to the folks behind the F-Droid app market and their repository to add this app but I need to get your support first. It's it alright for me to ask that this app be added to F-Droid?
In case you don't know what F-Droid is: F-Droid is a Google Play Store alternative that works like a package manager letting you add all sorts of repositories. Their official F-Droid repository contains various FOSS apps that they build from source when it's updated and host.
This is almost certainly due to the lack of a persistent notification. Any updates on adding that? I saw in a few Play Store reviews you said you were working on it, but that was a while ago.
For example, I want 30 min or 60 min instead of choosing between 10 min or infinite time, but there's no way to it through your app. I think adding more options are easy but the config screen probably takes more effort than necessary. Thanks in advance.
Can you please make the app to remember the timeout setting so that it can be enabled with a single tap? And long tapping can allow us to change the timing.
Thanks!
Apk source: F-Droid
Device: Moto G6 (stock/unrooted)
Android 8.0.0
Build number: OPS27.104-92
Relevant logcat obtained from adb logcat|grep -E '6716|caffeine'
. Can send full logcat if you send me an email (or keybase chat)0
12-04 19:10:37.006 1719 2862 I ActivityManager: Start proc 6716:tr.edu.iyte.caffeine/u0a397 for service tr.edu.iyte.caffeine/.CaffeineTileService
12-04 19:10:37.006 6716 6716 E SchedPolicy: open of /dev/cpuctl/bg_non_interactive/tasks failed: No such file or directory
12-04 19:10:37.119 6716 6716 I CaffeineTileService: started listening
12-04 19:10:37.119 6716 6716 I CaffeineTileService: phone is locked, caffeine won't operate
12-04 19:10:37.120 6716 6716 I CaffeineTileService: updating label: Caffeine
12-04 19:17:10.399 6716 6716 D AndroidRuntime: Shutting down VM
12-04 19:17:10.399 6716 6716 E AndroidRuntime: FATAL EXCEPTION: main
12-04 19:17:10.399 6716 6716 E AndroidRuntime: Process: tr.edu.iyte.caffeine, PID: 6716
12-04 19:17:10.399 6716 6716 E AndroidRuntime: java.lang.IllegalArgumentException: Service not registered: tr.edu.iyte.caffeine.CaffeineTileService$e@862a4ea
12-04 19:17:10.399 6716 6716 E AndroidRuntime: at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1475)
12-04 19:17:10.399 6716 6716 E AndroidRuntime: at android.app.ContextImpl.unbindService(ContextImpl.java:1637)
12-04 19:17:10.399 6716 6716 E AndroidRuntime: at android.content.ContextWrapper.unbindService(ContextWrapper.java:697)
12-04 19:17:10.399 6716 6716 E AndroidRuntime: at tr.edu.iyte.caffeine.CaffeineTileService.onStopListening(Unknown Source:19)
12-04 19:17:10.399 6716 6716 E AndroidRuntime: at android.service.quicksettings.TileService$H.handleMessage(TileService.java:401)
12-04 19:17:10.399 6716 6716 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:105)
12-04 19:17:10.399 6716 6716 E AndroidRuntime: at android.os.Looper.loop(Looper.java:164)
12-04 19:17:10.399 6716 6716 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6694)
12-04 19:17:10.399 6716 6716 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
12-04 19:17:10.399 6716 6716 E AndroidRuntime: at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
12-04 19:17:10.399 6716 6716 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:769)
12-04 19:17:10.416 1719 1900 I ActivityManager: Showing crash dialog for package tr.edu.iyte.caffeine u0
12-04 19:17:11.681 1719 2862 I ActivityManager: Killing 6716:tr.edu.iyte.caffeine/u0a397 (adj 0): crash
Could you please clarify what license this project uses?
When I press on the Caffeine tile, I receive the following 05_12-23-27-49_560.log and it does not seem to work at all.
Android 12. Samsung Galaxy A31.
I'm using this on a Motorola X Pure running the latest stock rom of Nougat 7.0. I'd like to keep the phone awake when it's plugged in and listening to music but not always.
I installed this app, set up the quick tile, and triple tapped till I saw the infinity symbol and a "filled" white cup. After a couple of minutes my device goes to sleep and I have to to unlock it even though I was certain I activated this caffine app.
The app randomly crashes. Here's the log:
07-29 18:25:31.490 E/AndroidRuntime(32608): java.lang.IllegalArgumentException: Service not registered: tr.edu.iyte.caffeine.CaffeineTileService$e@fa762f6
07-29 18:25:31.490 E/AndroidRuntime(32608): at tr.edu.iyte.caffeine.CaffeineTileService.onStopListening(Unknown Source:8)
I'm not sure how to reproduce it, it seems to be random (it even crashes sometimes when Caffeine is off).
I try to install your app on my device Huawei Mate 10 Pro, but it work partly, because the device keep always on the screen, but i cannot set any timeout neither with its app nor with the settings. Now i decide to unistall this app and i cannot open anymore the display setting. Please help me. I want to reset my phone.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.