batteryFromPhone property

bool batteryFromPhone
final

boolean to choose from where to obtain the value of the battery if it is true, the indicator will update in base of the phone battery, if not, you can controll with a variable

Implementation

final bool batteryFromPhone;