Skip to content

Latest commit

 

History

History
 
 

battery_plus

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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: ^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.

Supported APIs

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

Supported devices

  • Galaxy Watch series (running Tizen 4.0 or later)