batteryState property

  1. @TagNumber.new(13)
BatteryState get batteryState

ABSENT when the platform reports no battery at all; UNSPECIFIED when a battery exists but its state could not be read. The C ABI member is documented NULL-if-unavailable, which is why this stays optional.

Implementation

@$pb.TagNumber(13)
BatteryState get batteryState => $_getN(12);
  1. @TagNumber.new(13)
set batteryState (BatteryState value)

Implementation

@$pb.TagNumber(13)
set batteryState(BatteryState value) => $_setField(13, value);