Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alarm fails to work when screen is off #67

Open
KevinSanders opened this issue Aug 24, 2020 · 5 comments
Open

Alarm fails to work when screen is off #67

KevinSanders opened this issue Aug 24, 2020 · 5 comments

Comments

@KevinSanders
Copy link

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

@zetaomegagon
Copy link

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

@s1dh
Copy link

s1dh commented Jan 1, 2021

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

@zetaomegagon
Copy link

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

@ghost
Copy link

ghost commented Jan 2, 2021

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.

@sefernet
Copy link

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 !!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants