mueller-ma / coffee Goto Github PK
View Code? Open in Web Editor NEWAndroid Quick Tile To Keep Screen On
License: Apache License 2.0
Android Quick Tile To Keep Screen On
License: Apache License 2.0
Screen turns off on Xiaomi Mi 6 (Android 9.0)
I set the "battery optimization" to off for Coffee, but that does not help.
I would like to use this app to read newspapers, because their epaper app does not support wakelocks...
However, after installing and activating the app, the screen still turns off.
After the screen is turned off, the app seems to have deactivated itself.
Is this a Samsung thing, do I need to add some exception somewhere?
Coffee Version 1.2
Samsung Galaxy Tab S4
Android 10
Build QP1A.190711.020.T830XXU4CTJ1
Not sure if I'm doing something wrong... Seems to install ok andi rebooted, but no tile....
Ahh there it is! Haha! Ignore me!
Describe the bug
When the "Help" button is pressed the app crashes.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The help dialog should be displayed.
Screenshots
n/a
Device
Additional context
Version 1.12 installed from FDroid
First of all, thank you for this app, it's very useful for me.
If using the widget to toggle, the status is unknown unlike using quick tile. I often forget and check manually via the tile fearing if I left it on then battery will drain.
Describe the bug
It is in the drop-down menu but i am not able to activate Coffee.
Expected behavior
Drop down the menu, press the "Coffee" button an the symbol appears on top
Device (please complete the following information):
Additional context
Add any other context about the problem here.
Coffee 1.2 (F-Droid)
Permission: Permanent notification (no other permissions)
Battery saver: No restrictions
Fullscreen mode: allowed
Autostart: deactivated
I installed latest from F-droid store today, disabled Battery Optimisation for it, but enabling Coffee has no effect.
I'm a software engineer, but not familiar with Android.
How can I help with debugging this, or possibly with fixing this?
I should note that in the phone "Settings", the values for "Screen Timeout" go up to 10 minutes but there's no "never" option. I don't know if the values supported in "settings" place restrictions on what this app can do?
Describe the bug
The alternate mode should be able to collect previous system setting, after turning off Coffee, it should be able to restore system setting.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I’ve previously set screen timeout time as 1 minute. After I turned off Coffee, I saw it was just changed to 30 minutes.
Screenshots
If applicable, add screenshots to help explain your problem.
Device (please complete the following information):
Additional context
Add any other context about the problem here.
Is your feature request related to a problem? Please describe.
Currently there is no way in app to check for update or link to the original source of app. Fdroid or GitHub page.
Describe the solution you'd like
Please add link to Fdroid or GitHub page in app. So users can check if there is any update available.
See attachment.
Android 12 oneplus 7.
Please add timer options on notification by pressing + button to increase timer to 2:00, 5:00, 10:00, 15:00 and 30:00.
Describe the bug
Coffee is enabled/disabled but inversion of quick tile indicating either enabled/disabled is not visible until notification shade is closed and then opened again.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
If disabled, clicking the Coffee quick tile will invert according to the current theme to provide visual feedback that the wake-lock has been enabled. if enabled, clicking Coffee quick tile will revert according to the current theme to provide visual feedback that the wake-lock has been disabled.
Device (please complete the following information):
Additional context
GrapheneOS
Please add this app to Play Store.
When updating from 1.10 to 1.11 Play Protect blocks the install.
Related to the assist app changes maybe?
Please support dynamic color feature.
Is your feature request related to a problem? Please describe.
Sometimes I forget that I had Coffee turned on. It may be stolen by others or the battery may be used up, so I would be grateful if you could implement a feature to prevent it.
Describe the solution you'd like
Implement these features:
Also, I submitted a Japanese translation on Crowdin. If you like, please approve the translation or give me permission to approve it.
Describe the bug
The app is crashing when I press 'help'.
There's another instance of crashing listed below.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Opens timer settings
Device (please complete the following information):
Additional context
Add any other context about the problem here.
Is your feature request related to a problem? Please describe.
Coffee is unavailble as a pre-built apk anywhere aside from F-Droid. From reliance on Debian Stretch to old dependencies to delayed builds, the F-Droid build system is not nearly as robust as what GitHub offers.
Describe the solution you'd like
GH CI/Actions apk build provided here (preferably with a checksum for integrity) as an official version pushed by the developer. Can continue to have F-Droid sign and publish with their own signing key, but the GH version should serve as the canonical.
Describe alternatives you've considered
Installing F-Droid/Droid-ify i/Neo-Store (still in beta) or downloading from the F-Droid website (all of which equate to relying on F-Droid as the builder and trusted source).
Additional context
https://wonderfall.dev/fdroid-issues/
Please consult the help dialog of the app if you have any issues with Coffee. It can help you with disabling battery saver. If the app still doesn't keep the display awake, it might be caused by these battery savers. There're some devices known not to work: https://github.com/mueller-ma/Coffee/issues?q=label%3A%22battery+saver%22
Feel free to open an issue if your device isn't in the list of closed issues.
Describe the bug
Simply, Coffee is not keeping the display awake in my Xiaomi Mi9 Lite. It doesn't matter how i toggled it. I tried to disable the battery settings for the app, and read dontkillmyapp.com tips, but nothing changes.
It only keeps the display on when the the app is open, but you can't do something else than see the app.
To Reproduce
Expected behavior
Coffee keeping the display on when the notification is there.
Device (please complete the following information):
Additional context
Here is a logcat (filtered with "coffee" keyword). I did two things meanwhile in the time of the log: open Coffee, toggle on, going to home screen and wait. The screen goes off. After that, i opened again Coffee, toggle on again, and wait for a minute or two in the app itself. It kept the display on, but then i went to the home screen and the display went off in some seconds.
03-01 12:54:02.063 D/miuix_anim( 2532): AnimRunningInfo, begin scaleX, toTag = myDown, target object = com.miui.home.launcher.AppIcon{6b661bc VFE...CL. ........ 439,931-642,1241}(Coffee)
03-01 12:54:02.063 D/miuix_anim( 2532): AnimRunningInfo, begin scaleY, toTag = myDown, target object = com.miui.home.launcher.AppIcon{6b661bc VFE...CL. ........ 439,931-642,1241}(Coffee)
03-01 12:54:02.156 D/miuix_anim( 2532): AnimRunningInfo, begin scaleX, toTag = myUp, target object = com.miui.home.launcher.AppIcon{6b661bc VFE...CL. ...P.... 439,931-642,1241}(Coffee)
03-01 12:54:02.156 D/miuix_anim( 2532): AnimRunningInfo, begin scaleY, toTag = myUp, target object = com.miui.home.launcher.AppIcon{6b661bc VFE...CL. ...P.... 439,931-642,1241}(Coffee)
03-01 12:54:02.164 W/XSpaceManagerService( 1658): checkXSpaceControl, from:com.miui.home, to:com.github.muellerma.coffee, with act:android.intent.action.MAIN, callingUserId:0, toUserId:0
03-01 12:54:02.167 I/ActivityTaskManager( 1658): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.github.muellerma.coffee/.MainActivity bnds=[469,1175][622,1328] (has extras)} from uid 10057
03-01 12:54:02.227 D/Boost ( 1658): hostingType=activity, hostingName={com.github.muellerma.coffee/com.github.muellerma.coffee.MainActivity}, callerPackage=com.miui.home, isSystem=true, isBoostNeeded=false.
03-01 12:54:02.227 D/OemNetd ( 658): setPidForPackage: packageName=com.github.muellerma.coffee, pid=32594, pid=10399
03-01 12:54:02.227 I/ActivityManager( 1658): Start proc 32594:com.github.muellerma.coffee/u0a399 for activity {com.github.muellerma.coffee/com.github.muellerma.coffee.MainActivity} caller=com.miui.home
03-01 12:54:02.254 I/GST (10265): forePkg: com.github.muellerma.coffee, preForePkg: com.miui.home
03-01 12:54:02.253 I/ProcessMonitor( 4533): onForegroundInfoChanged: ForegroundInfo{mForegroundPackageName='com.github.muellerma.coffee', mForegroundUid=10399, mForegroundPid=32594, mLastForegroundPackageName='com.miui.home', mLastForegroundUid=10057, mLastForegroundPid=2532, mMultiWindowForegroundPackageName='null', mMultiWindowForegroundUid=-1, mFlags=1}
03-01 12:54:02.254 I/GameBoosterService( 4533): onForegroundInfoChanged: Cur=com.github.muellerma.coffee last=com.miui.home
03-01 12:54:02.262 D/GameBoosterService( 4533): onGameStatusChange foreground:ForegroundInfo{mForegroundPackageName='com.github.muellerma.coffee', mForegroundUid=10399, mForegroundPid=32594, mLastForegroundPackageName='com.miui.home', mLastForegroundUid=10057, mLastForegroundPid=2532, mMultiWindowForegroundPackageName='null', mMultiWindowForegroundUid=-1, mFlags=1}
03-01 12:54:02.300 W/uellerma.coffee(32594): type=1400 audit(0.0:55143): avc: denied { read } for name="u:object_r:vendor_displayfeature_prop:s0" dev="tmpfs" ino=20953 scontext=u:r:untrusted_app:s0:c143,c257,c512,c768 tcontext=u:object_r:vendor_displayfeature_prop:s0 tclass=file permissive=0
03-01 12:54:02.311 E/Perf (32594): Fail to get file list com.github.muellerma.coffee
03-01 12:54:02.335 D/ForceDarkHelper(32594): updateByCheckExcludeList: pkg: com.github.muellerma.coffee activity: com.github.muellerma.coffee.MainActivity@ae464ea
03-01 12:54:02.344 I/chatty (32594): uid=10399(com.github.muellerma.coffee) identical 7 lines
03-01 12:54:02.345 D/ForceDarkHelper(32594): updateByCheckExcludeList: pkg: com.github.muellerma.coffee activity: com.github.muellerma.coffee.MainActivity@ae464ea
03-01 12:54:02.351 D/ForceDarkHelper(32594): updateByCheckExcludeList: pkg: com.github.muellerma.coffee activity: com.github.muellerma.coffee.MainActivity@ae464ea
03-01 12:54:02.353 I/chatty (32594): uid=10399(com.github.muellerma.coffee) identical 3 lines
03-01 12:54:02.354 D/ForceDarkHelper(32594): updateByCheckExcludeList: pkg: com.github.muellerma.coffee activity: com.github.muellerma.coffee.MainActivity@ae464ea
03-01 12:54:02.359 D/Launcher.Model( 2532): LauncherAppsCallback onShortcutsChanged|com.github.muellerma.coffee|UserHandle{0}
03-01 12:54:02.374 D/RecentsImpl( 2532): mActivityStateObserver com.github.muellerma.coffee.MainActivity
03-01 12:54:02.405 D/com.jarsilio.android.autoautorotate (AppLaunchDetectionService$a)(31180): com.github.muellerma.coffee in foreground: deactivating auto-rotate (if not already the case)
03-01 12:54:02.447 I/ActivityTaskManager( 1658): Displayed com.github.muellerma.coffee/.MainActivity: +277ms
03-01 12:54:02.754 I/Timeline( 1658): Timeline: Activity_windows_visible id: ActivityRecord{30930d8 u0 com.github.muellerma.coffee/.MainActivity t1137} time:122979748
03-01 12:54:02.764 E/Layer ( 905): [Surface(name=AppWindowToken{2b30f16 token=Token{6dbcc31 ActivityRecord{30930d8 u0 com.github.muellerma.coffee/.MainActivity t1137}}})/@0x3645c52 - animation-leash#0] No local sync point found
03-01 12:54:04.317 D/CoffeeTile(32594): requestTileStateUpdate()
03-01 12:54:04.321 D/TileServices( 2166): Couldn't find tile for ComponentInfo{com.github.muellerma.coffee/com.github.muellerma.coffee.CoffeeTile}
03-01 12:54:04.325 D/CoffeeTile(32594): requestTileStateUpdate()
03-01 12:54:04.332 D/TileServices( 2166): Couldn't find tile for ComponentInfo{com.github.muellerma.coffee/com.github.muellerma.coffee.CoffeeTile}
03-01 12:54:04.453 D/SpaceNotificationService( 3219): onNotificationPosted pkgname:com.github.muellerma.coffee userId:0 currentUserId:0 isFloat: false
03-01 12:54:04.456 D/StatusBar( 2166): onNotificationPosted key=0|com.github.muellerma.coffee|1|null|10399 isUpdate=false
03-01 12:54:04.473 D/IconCustomizer( 2166): Generate customized icon for com.github.muellerma.coffee.png
03-01 12:54:04.487 D/StatusBar( 2166): No peeking: unimportant notification: 0|com.github.muellerma.coffee|1|null|10399
03-01 12:54:04.545 D/StatusBar( 2166): No peeking: unimportant notification: 0|com.github.muellerma.coffee|1|null|10399
03-01 12:54:07.328 I/ProcessMonitor( 4533): onForegroundInfoChanged: ForegroundInfo{mForegroundPackageName='com.miui.home', mForegroundUid=10057, mForegroundPid=2532, mLastForegroundPackageName='com.github.muellerma.coffee', mLastForegroundUid=10399, mLastForegroundPid=32594, mMultiWindowForegroundPackageName='null', mMultiWindowForegroundUid=-1, mFlags=0}
03-01 12:54:07.328 I/GameBoosterService( 4533): onForegroundInfoChanged: Cur=com.miui.home last=com.github.muellerma.coffee
03-01 12:54:07.328 I/GST (10265): forePkg: com.miui.home, preForePkg: com.github.muellerma.coffee
03-01 12:54:07.329 D/GameBoosterService( 4533): onGameStatusChange foreground:ForegroundInfo{mForegroundPackageName='com.miui.home', mForegroundUid=10057, mForegroundPid=2532, mLastForegroundPackageName='com.github.muellerma.coffee', mLastForegroundUid=10399, mLastForegroundPid=32594, mMultiWindowForegroundPackageName='null', mMultiWindowForegroundUid=-1, mFlags=0}
03-01 12:54:08.947 W/RecentsModel( 2532): getTaskInfoIgnoreHomeAndFreeform taskInfo=ComponentInfo{com.github.muellerma.coffee/com.github.muellerma.coffee.MainActivity}
03-01 12:54:24.993 D/PowerManagerService( 1658): screen wakeLock:[SCREEN_BRIGHT_WAKE_LOCK 'Coffee::ForegroundService' DISABLED (uid=10399 pid=32594)] disabled
03-01 12:54:31.244 D/CoffeeTile(32594): requestTileStateUpdate()
03-01 12:54:31.246 D/StatusBar( 2166): onNotificationRemoved key=0|com.github.muellerma.coffee|1|null|10399 reason=8
03-01 12:54:31.256 D/StatusBar( 2166): removeNotification StatusBarNotification(pkg=com.github.muellerma.coffee user=UserHandle{0} id=1 tag=null key=0|com.github.muellerma.coffee|1|null|10399: Notification(channel=foreground_service pri=0 contentView=null vibrate=null sound=null tick defaults=0x0 flags=0x62 color=0xff4e342e category=service vis=PRIVATE publicVersion=Notification(channel=foreground_service pri=0 contentView=null vibrate=null sound=null tick defaults=0x0 flags=0x2 color=0xff4e342e category=service vis=PRIVATE)))
03-01 12:54:31.256 D/StatusBar( 2166): pkgName=com.github.muellerma.coffee appUid=10399 sdk=30 imp=2 sysApp=F priApp=F hasShown=F float=F keyguard=F peek=F fullscreen=F
03-01 12:54:31.256 D/StatusBar( 2166): update app badge num: com.github.muellerma.coffee/,num=0,isAllowed=false,userId=0
03-01 12:54:31.258 I/Launcher.ApplicationsMessage( 2532): update com.github.muellerma.coffee/ to null
03-01 12:54:31.263 D/TileServices( 2166): Couldn't find tile for ComponentInfo{com.github.muellerma.coffee/com.github.muellerma.coffee.CoffeeTile}
03-01 12:54:32.869 D/miuix_anim( 2532): AnimRunningInfo, begin alpha, toTag = z, target object = com.miui.home.launcher.ShortcutIcon{39a9d47 VFE...CL. ........ 439,1559-642,1848}(Coffee)
03-01 12:54:32.869 D/miuix_anim( 2532): AnimRunningInfo, begin scaleX, toTag = z, target object = com.miui.home.launcher.ShortcutIcon{39a9d47 VFE...CL. ........ 439,1559-642,1848}(Coffee)
03-01 12:54:32.869 D/miuix_anim( 2532): AnimRunningInfo, begin scaleY, toTag = z, target object = com.miui.home.launcher.ShortcutIcon{39a9d47 VFE...CL. ........ 439,1559-642,1848}(Coffee)
03-01 12:54:32.869 D/miuix_anim( 2532): AnimRunningInfo, begin translationY, toTag = z, target object = com.miui.home.launcher.ShortcutIcon{39a9d47 VFE...CL. ........ 439,1559-642,1848}(Coffee)
03-01 12:55:04.314 D/miuix_anim( 2532): AnimRunningInfo, begin alpha, toTag = z, target object = com.miui.home.launcher.ShortcutIcon{39a9d47 VFE...CL. ........ 439,1559-642,1848}(Coffee)
03-01 12:55:04.314 D/miuix_anim( 2532): AnimRunningInfo, begin scaleX, toTag = z, target object = com.miui.home.launcher.ShortcutIcon{39a9d47 VFE...CL. ........ 439,1559-642,1848}(Coffee)
03-01 12:55:04.314 D/miuix_anim( 2532): AnimRunningInfo, begin scaleY, toTag = z, target object = com.miui.home.launcher.ShortcutIcon{39a9d47 VFE...CL. ........ 439,1559-642,1848}(Coffee)
r.ShortcutIcon{39a9d47 VFE...CL. ........ 439,1559-642,1848}(Coffee)
03-01 12:55:08.656 D/Launcher.CellLayout( 2532): touch item:ShortcutInfo, id=195, itemType=0, user=UserHandle{0}, mIconType=0, pkgName=com.github.muellerma.coffee, className=com.github.muellerma.coffee.MainActivity, screenId=1, container=-100, cellX=2, cellY=5, spanX=1, spanY=1, isLandscapePos=false
03-01 12:55:08.658 D/miuix_anim( 2532): AnimRunningInfo, begin scaleX, toTag = myDown, target object = com.miui.home.launcher.ShortcutIcon{39a9d47 VFE...CL. ........ 439,1559-642,1848}(Coffee)
03-01 12:55:08.658 D/miuix_anim( 2532): AnimRunningInfo, begin scaleY, toTag = myDown, target object = com.miui.home.launcher.ShortcutIcon{39a9d47 VFE...CL. ........ 439,1559-642,1848}(Coffee)
03-01 12:55:08.734 D/miuix_anim( 2532): AnimRunningInfo, begin scaleX, toTag = myUp, target object = com.miui.home.launcher.ShortcutIcon{39a9d47 VFE...CL. ...P.... 439,1559-642,1848}(Coffee)
03-01 12:55:08.735 D/miuix_anim( 2532): AnimRunningInfo, begin scaleY, toTag = myUp, target object = com.miui.home.launcher.ShortcutIcon{39a9d47 VFE...CL. ...P.... 439,1559-642,1848}(Coffee)
03-01 12:55:08.741 W/XSpaceManagerService( 1658): checkXSpaceControl, from:com.miui.home, to:com.github.muellerma.coffee, with act:android.intent.action.MAIN, callingUserId:0, toUserId:0
03-01 12:55:08.742 I/ActivityTaskManager( 1658): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.github.muellerma.coffee/.MainActivity bnds=[469,1664][622,1817] (has extras)} from uid 10057
03-01 12:55:08.772 I/ProcessMonitor( 4533): onForegroundInfoChanged: ForegroundInfo{mForegroundPackageName='com.github.muellerma.coffee', mForegroundUid=10399, mForegroundPid=32594, mLastForegroundPackageName='com.miui.home', mLastForegroundUid=10057, mLastForegroundPid=2532, mMultiWindowForegroundPackageName='null', mMultiWindowForegroundUid=-1, mFlags=0}
03-01 12:55:08.772 I/GameBoosterService( 4533): onForegroundInfoChanged: Cur=com.github.muellerma.coffee last=com.miui.home
03-01 12:55:08.772 I/GST (10265): forePkg: com.github.muellerma.coffee, preForePkg: com.miui.home
03-01 12:55:08.785 D/GameBoosterService( 4533): onGameStatusChange foreground:ForegroundInfo{mForegroundPackageName='com.github.muellerma.coffee', mForegroundUid=10399, mForegroundPid=32594, mLastForegroundPackageName='com.miui.home', mLastForegroundUid=10057, mLastForegroundPid=2532, mMultiWindowForegroundPackageName='null', mMultiWindowForegroundUid=-1, mFlags=0}
03-01 12:55:08.794 D/RecentsImpl( 2532): mActivityStateObserver com.github.muellerma.coffee.MainActivity
03-01 12:55:08.814 D/com.jarsilio.android.autoautorotate (AppLaunchDetectionService$a)(31180): com.github.muellerma.coffee in foreground: deactivating auto-rotate (if not already the case)
03-01 12:55:08.850 D/com.jarsilio.android.autoautorotate (AppLaunchDetectionService$a)(31180): com.github.muellerma.coffee in foreground: deactivating auto-rotate (if not already the case)
03-01 12:55:09.274 I/Timeline( 1658): Timeline: Activity_windows_visible id: ActivityRecord{30930d8 u0 com.github.muellerma.coffee/.MainActivity t1137} time:123046268
03-01 12:55:09.288 E/Layer ( 905): [Surface(name=AppWindowToken{2b30f16 token=Token{6dbcc31 ActivityRecord{30930d8 u0 com.github.muellerma.coffee/.MainActivity t1137}}})/@0x3645c52 - animation-leash#0] No local sync point found
03-01 12:55:10.810 D/CoffeeTile(32594): requestTileStateUpdate()
03-01 12:55:10.813 D/TileServices( 2166): Couldn't find tile for ComponentInfo{com.github.muellerma.coffee/com.github.muellerma.coffee.CoffeeTile}
03-01 12:55:10.815 D/CoffeeTile(32594): requestTileStateUpdate()
03-01 12:55:10.834 D/TileServices( 2166): Couldn't find tile for ComponentInfo{com.github.muellerma.coffee/com.github.muellerma.coffee.CoffeeTile}
03-01 12:55:10.963 D/SpaceNotificationService( 3219): onNotificationPosted pkgname:com.github.muellerma.coffee userId:0 currentUserId:0 isFloat: false
03-01 12:55:10.970 D/StatusBar( 2166): onNotificationPosted key=0|com.github.muellerma.coffee|1|null|10399 isUpdate=false
03-01 12:55:10.984 D/IconCustomizer( 2166): Generate customized icon for com.github.muellerma.coffee.png
03-01 12:55:10.998 D/StatusBar( 2166): No peeking: unimportant notification: 0|com.github.muellerma.coffee|1|null|10399
03-01 12:55:11.063 D/StatusBar( 2166): No peeking: unimportant notification: 0|com.github.muellerma.coffee|1|null|10399
03-01 12:55:26.649 D/PowerCheckerService( 6013): foreground, uid = 10399, app = com.github.muellerma.coffee
03-01 12:58:27.424 I/ProcessMonitor( 4533): onForegroundInfoChanged: ForegroundInfo{mForegroundPackageName='com.miui.home', mForegroundUid=10057, mForegroundPid=2532, mLastForegroundPackageName='com.github.muellerma.coffee', mLastForegroundUid=10399, mLastForegroundPid=32594, mMultiWindowForegroundPackageName='null', mMultiWindowForegroundUid=-1, mFlags=0}
03-01 12:58:27.424 I/GameBoosterService( 4533): onForegroundInfoChanged: Cur=com.miui.home last=com.github.muellerma.coffee
03-01 12:58:27.424 I/GST (10265): forePkg: com.miui.home, preForePkg: com.github.muellerma.coffee
03-01 12:58:27.425 D/GameBoosterService( 4533): onGameStatusChange foreground:ForegroundInfo{mForegroundPackageName='com.miui.home', mForegroundUid=10057, mForegroundPid=2532, mLastForegroundPackageName='com.github.muellerma.coffee', mLastForegroundUid=10399, mLastForegroundPid=32594, mMultiWindowForegroundPackageName='null', mMultiWindowForegroundUid=-1, mFlags=0}
03-01 12:58:37.778 D/PowerManagerService( 1658): screen wakeLock:[SCREEN_BRIGHT_WAKE_LOCK 'Coffee::ForegroundService' DISABLED (uid=10399 pid=32594)] disabled
03-01 12:58:44.010 D/StatusBar( 2166): onNotificationRemoved key=0|com.github.muellerma.coffee|1|null|10399 reason=8
03-01 12:58:44.019 D/CoffeeTile(32594): requestTileStateUpdate()
03-01 12:58:44.021 D/StatusBar( 2166): removeNotification StatusBarNotification(pkg=com.github.muellerma.coffee user=UserHandle{0} id=1 tag=null key=0|com.github.muellerma.coffee|1|null|10399: Notification(channel=foreground_service pri=0 contentView=null vibrate=null sound=null tick defaults=0x0 flags=0x62 color=0xff4e342e category=service vis=PRIVATE publicVersion=Notification(channel=foreground_service pri=0 contentView=null vibrate=null sound=null tick defaults=0x0 flags=0x2 color=0xff4e342e category=service vis=PRIVATE)))
03-01 12:58:44.021 D/StatusBar( 2166): pkgName=com.github.muellerma.coffee appUid=10399 sdk=30 imp=2 sysApp=F priApp=F hasShown=F float=F keyguard=F peek=F fullscreen=F
03-01 12:58:44.021 D/StatusBar( 2166): update app badge num: com.github.muellerma.coffee/,num=0,isAllowed=false,userId=0
03-01 12:58:44.028 I/Launcher.ApplicationsMessage( 2532): update com.github.muellerma.coffee/ to null
03-01 12:58:44.033 D/TileServices( 2166): Couldn't find tile for ComponentInfo{com.github.muellerma.coffee/com.github.muellerma.coffee.CoffeeTile}
03-01 12:58:47.402 D/miuix_anim( 2532): AnimRunningInfo, begin alpha, toTag = z, target object = com.miui.home.launcher.ShortcutIcon{39a9d47 VFE...CL. ........ 439,1559-642,1848}(Coffee)
03-01 12:58:47.402 D/miuix_anim( 2532): AnimRunningInfo, begin scaleX, toTag = z, target object = com.miui.home.launcher.ShortcutIcon{39a9d47 VFE...CL. ........ 439,1559-642,1848}(Coffee)
03-01 12:58:47.402 D/miuix_anim( 2532): AnimRunningInfo, begin scaleY, toTag = z, target object = com.miui.home.launcher.ShortcutIcon{39a9d47 VFE...CL. ........ 439,1559-642,1848}(Coffee)
03-01 12:58:47.402 D/miuix_anim( 2532): AnimRunningInfo, begin translationY, toTag = z, target object = com.miui.home.launcher.ShortcutIcon{39a9d47 VFE...CL. ........ 439,1559-642,1848}(Coffee)
Thanks!
When settings are changed while coffee is running, e.g. "allow dimming", the new settings aren't applied instantly.
Is your feature request related to a problem? Please describe.
It's inconvenient to only be able to adjust how long the timeout triggered by the QS tile is by going into the settings and changing the option there. It's often the case that I'll want to use different timeouts, e.g. keep my phone awake endlessly while I'm running an idle game at my desk, vs keeping the phone awake for 5 minutes while reading through some long piece of text on the screen.
Describe the solution you'd like
Tapping and holding on the QS tile should bring up options for how long to set the timeout for the activation about to be done. The single tap behavior could be based on some default (set in the settings) or the last used timeout.
Two actions could be added to the notification:
Describe the bug
I reported the crashing earlier, and it was fixed in v2.2, however, starting from v2.2, the QS tile is not available anymore.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I had previously added the tile when I was using v2.1, so when I updated the app it was still there.
After restarting the phone however, it turned into a blank tile (it still works, screenshot attached) and if I remove I can't add it again.
Device (please complete the following information):
Additional context
One more thing, coffee's icon is blank in the settings (normal in launcher when using default icon shape).
Describe the bug
Coffee doesn't allow the display to exit the awake state after second toggle
To Reproduce
Steps to reproduce the behavior:
Expected behavior
display exits the awake state
Device (please complete the following information):
Describe the bug
I need to click several times on the shortcut in the notifications (sometimes something like 8-10 click) to activate Coffee
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Click one time to run Coffee
Device (please complete the following information):
Hey dev,
I gave your app a trial today, as the "Caffeine Tile" in F-Droid that I used formerly hasn't been maintained in 3 years.
Unfortunately the Tile doesn't appear in the quick settings. Is there any troubleshooting I can do on my end? Do permissions have to be set?
Thank you,
Jay
https://developer.android.com/training/scheduling/wakelock#screen
Keep the screen on
(and only in an activity, never in a service or other app component)class MainActivity : Activity() {
window.addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON)
}
Keep the CPU on
PowerManager.WakeLock
your code is for "Keep the CPU on" and
your app is not activity (not exist window).
I desperately want your app to run well.
thanks
I've seen OSS projects use these sites for translation purpose
I think Weblate is better as it's opensource.
Features: https://weblate.org/en/features/
https://weblate.org/en/hosting/
See attachment.
Android 12 oneplus 7.
![Uploading IMG_1662683219709.jpg…]
Would it be possible to add an option to hide the app from the app drawer ?
The app strings and the description for F-Droid could be translated to a few more languages. See "Translations" in the Readme for more information.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [I open & toggle WiFi, Bluetooh etc from quick settings because my device is a 8inch tablet. Its not very convenient to drag the notification bar in bigger size devices or tablets].
Describe the solution you'd like
It would be nice to have a widget in home screen which can does the same job.
Additional context
ideas for widget: maybe a widget like Night Screen or transparent widget like Habits would look great.
Thanks🙏🏿
Describe the bug
Coffee keeps the display on inside the app, but not outside it, I have battery optimisation disabled in system settings.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Coffee is supposed to keep the display awake outside of the app.
Device (please complete the following information):
Additional context
Downgrading did not solve this.
Describe the bug
The Quick Settings Tile for Coffee is set and working, but when i reboot the phone, the tile is disabled and i can toggle it (although i can open Coffee if i hold in it). The only way to enable it again is remove the tile and put it again.
Also i think happens when Coffee updates, but i need to see it again to confirm it.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The tile should be enabled always, after the phone is rebooted (or it updates).
The only option is to remove the tile and put it again.
Device (please complete the following information):
Additional context
It's something i detected at least a month ago, but i was occupied and forgot to report it.
Thanks!
Describe the bug
This doesn't work on my device (Samsung S20 FE 5G). I installed Coffee 1.18 from F-Droid, and disabled Battery Optimisation. After my normal screen timeout duration, the screen turns off like normal.
FWIW Caffeine - Keep Screen On works fine on my device. This suggests that perhaps this issue fixable, but unfortunately that app is closed-source, so it might be hard to emulate.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Screen should stay on.
Observed behavior
Screen turns off.
Device (please complete the following information):
Is it possible to trigger on/off with tasker / terminal to somewhat be able to have conditional enabling where the phone does not go to sleep anymore.
E.g. having a profile where coffee is enabled when connected to a power source or to a certain bt device
I have translated your application into ru
(Russian). Here is the xml:
https://hastebin.com/fegifodoge
coffee app doesn't seem to work on my poco x3 pro. I have disabled all the battery optimizations. whenever I toggle it, it shows that it is keeping the display awake but it doesn't. I tried reinstalling it but no results.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Device (please complete the following information):
Additional context
Add any other context about the problem here.
IMO, it would be helpful if I could toggle it just by long pressing the home app. For that it should be present as an option in the list of assist apps, since they can be launched by long pressing the home button.
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.