Hello folks, if you are reading this it is because you want to learn about why we have to set inexact notification for Aussie Bargain on Android.

TLDR; Android 14 and above need users to enable Alarm and reminder to receive precisely timed notifications. Go to your phone setting and look for Apps and Aussie Bargain and enable Alarm and Reminder if you want precise notification.

As of Android 14 – Codename Upside Down Cake (API 34), any apps no longer have permission by default to set local notification with precise timing without the user specifically granting the app permission to do so.

This is yet another battery optimization that Android has implemented in order to help users save battery. This follows an article we have written almost 5 years ago https://www.2iins.com/blog/android-notification-doze/ which outlines doze and standy.

What does that mean?

In order to save battery, Android performs routine operation across time with waiting period in between like such:

Network call, notifications etc are only fired during those maintenance windows. And therefore, as of Tiramisu, we can no longer set exactly timed notification unless you give Aussie Bargain permission to do so. If you don’t, we can attempt to set the notification eg at 7pm but if your phone was in Doze it might get delivered at the next window which may be +10-30 minutes later depending on phones.

FeatureExact AlarmInexact Alarm
Timing PrecisionFires exactly at the specified timeFires at an approximate time, with flexibility (may be delayed up to 30min)
Battery UsageHigher battery impact (wakes up device)Lower battery impact (batched with other tasks)
System ImpactCan break Doze mode or battery optimizationsOptimized by the system, respects power modes
Use CasesTime-critical tasks (e.g., alarms, reminders)Non-time-sensitive tasks (e.g., background sync)
Permissions (Android 14)Requires SCHEDULE_EXACT_ALARM permissionNo special permission needed

What are my options?

If you are ok with notification being potentially delayed, all good, you do not need to do anything.

If you want to receive notifications on time, you will need to do the following:

  • Open the Settings App on your Pixel 8.
  • Scroll down and tap on “Apps”.
  • Select “See all apps”.
  • Find and tap on the app for which you want to manage the exact alarm permission.
  • In the app’s settings, tap on “Permissions”.
  • Scroll down and select “Alarms & reminders”.
  • In this menu, you will see an option to enable or disable “Allow exact alarms”. You can toggle it to allow or deny the permission for scheduling exact alarms.

This is just a general guide as the location of this setting might vary from phone to phone but below is where you will find it:

This change is coming in Aussie Bargain Android 4.5.

That’s all!


0 Comments

Leave a comment