Comments (7)
I think I found the way to reproduce:
- Go to main interface
- Click on Toggle Coffee
- Click on Next timeout (available at notification area)
- Click on Toggle Coffee again
- Open System settings => Display
- See error
from coffee.
That should be the case: https://github.com/mueller-ma/Coffee/blob/main/app/src/main/java/com/github/muellerma/coffee/ForegroundService.kt#L130
Can you set the screen timeout manually to 1 minute, turn on and off Coffee and check the screen timeout again? Do you see any message with "Coffee couldn't set the previous timeout"?
from coffee.
Ok I did, but I couldn’t reproduce now.
from coffee.
I saw a similar bug. It happened after the first time I switched to the alternate mode, turning Coffee on and of. My screen timeout had became very short since then. 15 secs, I guess. I cannot be sure because when I entered Settings > Display > Screen Timeout, my screen timeout was set to an option that I've never seen. It was set to ()
. (Yes, the option just named "()
." Is it a system-level bug?) However, it no longer happens after I set the timeout to 1 min manually. It works fine since then. I'm on Galaxy M33 5G, with Android 13.
from coffee.
It was set to (). (Yes, the option just named "()." Is it a system-level bug?)
Coffee sets the timeout in seconds and the OS only has a limited set of numbers that can be converted back to a human readable string. If Coffee sets a timeout that isn't in this limited set, the OS displays ()
.
from coffee.
I suggest creating a separate service to working for keeping awake, both main interface, notification and quick setting tile are used to enable, disable and configure this service.
from coffee.
This is exactly what the default mode does and overly aggressive battery savers kill the service.
from coffee.
Related Issues (20)
- Create a tile that allows you to change the screen fading time HOT 3
- Disable notifications HOT 1
- Clear visual indicator inside the app?
- Show remaining time HOT 1
- Allow changing the timeout by tapping the quick tile again HOT 1
- Request Accrescent as a Store HOT 2
- GitHub release HOT 11
- Misnotification HOT 1
- Lost quick tile icon HOT 23
- Slow quick tile updates
- color change of the coffe button might be useful HOT 7
- Add `permissions` to GitHub actions
- The tile disappears in 2.19 HOT 3
- Thank you soo much for this app HOT 2
- Enable automatic per-app language support
- Coffee always starts at 5 minutes in 2.19 HOT 3
- Tile status inverted HOT 3
- [BUG] Slow activation of Coffee from the Quick Settings.
- App crash after update to 2.20 HOT 6
- Support reproducable builds on F-Droid HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coffee.