The Tizen implementation of battery_plus
.
This package is not an endorsed implementation of battery_plus
. Therefore, you have to include battery_plus_tizen
alongside battery_plus
as dependencies in your pubspec.yaml
file.
dependencies:
battery_plus: ^2.1.3
battery_plus_tizen: ^1.1.1
Then you can import battery_plus
in your Dart code:
import 'package:battery_plus/battery_plus.dart';
For detailed usage, see https://pub.dev/packages/battery_plus#usage.
-
Battery.batteryLevel
-
Battery.isInBatterySaveMode
-
Battery.batteryState
-
Battery.onBatteryStateChanged
- Galaxy Watch series (running Tizen 4.0 or later)