I've been looking for a way to detect programmatically if a user has enabled/disabled the Adaptive Battery setting on their device, but have been unable to find anything.
I know many settings can be checked, such as the user ignoring battery optimizations:
ACTION_IGNORE_BATTERY_OPTIMIZATION_SETTINGS
However, I have only found the ability to check which bucket your app currently belongs to:
getAppStandbyBucket()
Is there a way to determine if the user has turned off Adaptive Battery, similar to the Battery Optimization Setting?