This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:disable_battery_optimization/disable_battery_optimization.dart'; | |
| class BatteryPermission extends RequiredPermission { | |
| static final Logger _log = Logger('BatteryPermission'); | |
| @override | |
| String get explanation => | |
| 'Turning off battery optimizations allows us to XXX.'; | |
| const BatteryPermission() : super(priority: 5, androidOnly: true); |