Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 907 Bytes

README.md

File metadata and controls

34 lines (22 loc) · 907 Bytes

battery_plus_tizen

pub package

The Tizen implementation of battery_plus.

Usage

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: ^4.0.1
  battery_plus_tizen: ^1.1.2

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.

Supported APIs

  • Battery.batteryLevel
  • Battery.isInBatterySaveMode
  • Battery.batteryState
  • Battery.onBatteryStateChanged

Supported devices

  • Galaxy Watch series (running Tizen 5.5)