Interface Powersensor.GetBatteryPercentResponseOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
Powersensor.GetBatteryPercentResponse, Powersensor.GetBatteryPercentResponse.Builder
Enclosing class:
Powersensor

public static interface Powersensor.GetBatteryPercentResponseOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Remaining battery charge, from 0 to 100

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getPercent

      double getPercent()
       Remaining battery charge, from 0 to 100
       
      double percent = 1 [json_name = "percent"];
      Returns:
      The percent.