Giter VIP home page Giter VIP logo

caffeine's Introduction

End of Life

Caffeine

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!

Known issues

  • App crashes on some devices while switching from infinite mode to inactive.

caffeine's People

Contributors

emrsmsrli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

caffeine's Issues

EOL

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.

Requesting app to be added to F-Droid

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.

Doesn't work on Oreo

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.

Remember the time chosen

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!

App crashes every time I pull down quick settings

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

License?

Could you please clarify what license this project uses?

Failing to keep device awake

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.

Crashes with IllegalArgumentException

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 cannot reset my default system settings after uninstall your app

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.