isPowerSaveMode() always returns false for Huawei devices
问题 I am currently implement a feature where the users are requested to ignore battery optimisation for the application. The reason for doing so, is that the main functionality of the application is unfortunately drastically affected by power save mode. To achieve my goal, I prompt the users by creating an Intent and setting the Action to ACTION_REQUEST_IGNORE_BATTERY_OPTIMIZATIONS. Although, before firing the Intent , I both check for isPowerSaveMode() and isIgnoringBatteryOptimizations() to