• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps "App is draining battery" notification

Hello,

We have a driving behavior monitoring app that requires gathering location and sensor data from phone in background when the user is driving a vehicle. We take the requisite permissions from user during onboarding to be able to access Location All the time. We also optimise the data collection to reduce battery consumption. Still, some of our users get a sporadic message generated by Android that our App is draining the battery.

Is there any Android documentation that defines the criteria on when such a notification is shown. If the user ignores the notification, will it still keep coming. Is there anything a developer can do to prevent that notification from popping up.

Thanks
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones