Sunday, December 30, 2018

Restoring the normal notification behaviour in Android 9 (Pie)

Apps are more aggressively killed in Android 9 (Pie) in the background as in earlier Android versions, which causes Ampere's notification to disappear from time to time, because Ampere is more often killed from the system in the background to keep the battery draining at a minimum.

To overcome this and to sign to the system that Ampere should be kept running in the background the following can be done:
  • Android Settings 
  • Apps & notifications 
  • Advanced 
  • Special app access 
  • Battery optimization 
  • click the "Not optimized" title 
  • select "All apps" 
  • click Ampere in the list 
  • select "Don't optimize"

Get Ampere on Google Play