ClockPlus icon indicating copy to clipboard operation
ClockPlus copied to clipboard

Alarm fails to work when screen is off

Open KevinSanders opened this issue 5 years ago • 5 comments

Although I can set an alarm and it times down. It fails to actually do anything when the screen is off. When I turn the screen on, only then the alarm sounds and the timer is in negative (ie: - 00:01:12)

Mobile: HONOR 20

KevinSanders avatar Aug 24 '20 15:08 KevinSanders

@KevinSanders what ROM, ROM version, and what Android version?

zetaomegagon avatar Sep 05 '20 19:09 zetaomegagon

Same here on Android 11 (RQ1A.201205.011) device = Pixel 4a (5G)

s1dh avatar Jan 01 '21 18:01 s1dh

@s1dh I'm pretty sure this project is dead. The last commit was 4 years ago.

zetaomegagon avatar Jan 01 '21 18:01 zetaomegagon

After my upgrade from Lineage OS 16 -> 17.1. this app stopped working.

I noticed it, when I missed some alarms.

It would be really nice, if an update is being implemented. This is the best alarm apps on fdroid.

ghost avatar Jan 02 '21 12:01 ghost

Hi ! Same here : Alarms stopped working

DATA --------- Custom ROM: Havoc-OS 3.12 Android 10 Moto G7 Plus Battery Not Optimazed !

LOGS --------

02-23 20:40:00.018 1668 1936 I ActivityTaskManager: START u0 {flg=0x4 cmp=com.philliphsu.clock2/.ringtone.AlarmActivity (has extras)} from uid 10178 02-23 20:40:00.021 1668 1936 W ActivityTaskManager: Background activity start [callingPackage: com.philliphsu.clock2; callingUid: 10178; isCallingUidForeground: false; isCallingUidPersistentSystemProcess: false; realCallingUid: 1000; isRealCallingUidForeground: false; isRealCallingUidPersistentSystemProcess: true; originatingPendingIntent: PendingIntentRecord{41f4e5f com.philliphsu.clock2 startActivity}; isBgStartWhitelisted: false; intent: Intent { flg=0x4 cmp=com.philliphsu.clock2/.ringtone.AlarmActivity (has extras) }; callerApp: null] 02-23 20:40:00.025 1668 1936 W ActivityTaskManager: startActivity called from non-Activity context; forcing Intent.FLAG_ACTIVITY_NEW_TASK for: Intent { flg=0x800004 cmp=com.philliphsu.clock2/.ringtone.AlarmActivity (has extras) } 02-23 20:40:00.040 1668 1668 D ConditionProviders.SCP: onReceive android.app.action.NEXT_ALARM_CLOCK_CHANGED 02-23 20:40:00.041 1668 1668 D ConditionProviders.SCP: evaluateSubscriptionLocked cal=ScheduleCalendar[mDays={1, 2, 3, 4, 5, 6, 7}, mSchedule=ScheduleInfo{days=[1, 2, 3, 4, 5, 6, 7], startHour=22, startMinute=0, endHour=7, endMinute=0, exitAtAlarm=true, nextAlarm=Wed Feb 23 20:40:00 GMT-03:00 2022 (1645659600000)}], now=Wed Feb 23 20:40:00 GMT-03:00 2022 (1645659600040), nextUserAlarmTime=Wed Dec 31 21:00:00 GMT-03:00 1969 (0) 02-23 20:40:00.041 1668 1668 D ConditionProviders.SCP: notifyCondition condition://android/schedule?days=1.2.3.4.5.6.7&start=22.0&end=7.0&exitAtAlarm=true STATE_FALSE reason=!meetsSchedule 02-23 20:40:00.043 1668 1668 D ConditionProviders.SCP: Scheduling evaluate for Wed Feb 23 22:00:00 GMT-03:00 2022 (1645664400000), in +1h19m59s960ms, now=Wed Feb 23 20:40:00 GMT-03:00 2022 (1645659600040) 02-23 20:40:00.049 2178 2178 W AlarmManager: Unrecognized alarm listener com.android.systemui.keyguard.-$$Lambda$KeyguardSliceProvider$IhzByd8TsqFuOrSyuGurVskyPLo@3b65241


02-23 21:39:45.313 12536 12536 D AlarmCountdown: onWindowVisibilityChanged() 02-23 21:39:45.313 12536 12536 D AlarmCountdown: Not running anymore 02-23 21:39:45.348 12536 12536 D AlarmsFragment: onStop() 02-23 21:39:45.380 20241 20354 W OpenGLRenderer: Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer... 02-23 21:39:50.375 12536 12550 V MediaPlayer: resetDrmState: mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false 02-23 21:39:50.375 12536 12550 V MediaPlayer: cleanDrmObj: mDrmObj=null mDrmSessionId=null 02-23 21:39:50.376 1093 3881 D NuPlayerDriver: reset(0xf2938fa0) at state 4 02-23 21:39:50.378 1093 20889 D NuPlayerDriver: notifyResetComplete(0xf2938fa0) 02-23 21:39:50.383 12536 12550 V MediaPlayer: resetDrmState: mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false 02-23 21:39:50.384 12536 12550 V MediaPlayer: cleanDrmObj: mDrmObj=null mDrmSessionId=null 02-23 21:39:50.384 1093 3881 D NuPlayerDriver: reset(0xf705dd60) at state 4 02-23 21:39:50.387 1093 20900 D NuPlayerDriver: notifyResetComplete(0xf705dd60) 02-23 21:39:59.477 1668 1761 E BatteryExternalStatsWorker: no controller energy info supplied for bluetooth 02-23 21:39:59.526 870 1185 I netd : tetherGetStats() <2.45ms> 02-23 21:40:00.026 1668 1936 I ActivityTaskManager: START u0 {flg=0x4 cmp=com.philliphsu.clock2/.ringtone.AlarmActivity (has extras)} from uid 10178 02-23 21:40:00.028 1668 1936 W ActivityTaskManager: Background activity start [callingPackage: com.philliphsu.clock2; callingUid: 10178; isCallingUidForeground: false; isCallingUidPersistentSystemProcess: false; realCallingUid: 1000; isRealCallingUidForeground: false; isRealCallingUidPersistentSystemProcess: true; originatingPendingIntent: PendingIntentRecord{7f9c850 com.philliphsu.clock2 startActivity}; isBgStartWhitelisted: false; intent: Intent { flg=0x4 cmp=com.philliphsu.clock2/.ringtone.AlarmActivity (has extras) }; callerApp: null] 02-23 21:40:00.031 1668 1936 W ActivityTaskManager: startActivity called from non-Activity context; forcing Intent.FLAG_ACTIVITY_NEW_TASK for: Intent { flg=0x800004 cmp=com.philliphsu.clock2/.ringtone.AlarmActivity (has extras) } 02-23 21:40:00.050 1668 1668 D ConditionProviders.SCP: onReceive android.app.action.NEXT_ALARM_CLOCK_CHANGED 02-23 21:40:00.051 1668 1668 D ConditionProviders.SCP: evaluateSubscriptionLocked cal=ScheduleCalendar[mDays={1, 2, 3, 4, 5, 6, 7}, mSchedule=ScheduleInfo{days=[1, 2, 3, 4, 5, 6, 7], startHour=22, startMinute=0, endHour=7, endMinute=0, exitAtAlarm=true, nextAlarm=Wed Feb 23 21:40:00 GMT-03:00 2022 (1645663200000)}], now=Wed Feb 23 21:40:00 GMT-03:00 2022 (1645663200050), nextUserAlarmTime=Wed Dec 31 21:00:00 GMT-03:00 1969 (0) 02-23 21:40:00.051 1668 1668 D ConditionProviders.SCP: notifyCondition condition://android/schedule?days=1.2.3.4.5.6.7&start=22.0&end=7.0&exitAtAlarm=true STATE_FALSE reason=!meetsSchedule 02-23 21:40:00.055 1668 1668 D ConditionProviders.SCP: Scheduling evaluate for Wed Feb 23 22:00:00 GMT-03:00 2022 (1645664400000), in +19m59s950ms, now=Wed Feb 23 21:40:00 GMT-03:00 2022 (1645663200050) 02-23 21:40:00.061 2178 2178 W AlarmManager: Unrecognized alarm listener com.android.systemui.keyguard.-$$Lambda$KeyguardSliceProvider$IhzByd8TsqFuOrSyuGurVskyPLo@3b65241

Best alarm ever !!!

Thanks !!!

sefernet avatar Feb 24 '22 00:02 sefernet