Interface DeviceService


  • public interface DeviceService
    This service allows Features to get device information.
    • Method Detail

      • getBatteryLevel

        int getBatteryLevel()
        Returns the current battery level.
        Returns:
        the battery level (in %).
      • isBatteryCharging

        boolean isBatteryCharging()
        Returns whether the battery is currently charging.
        Returns:
        true if the battery is charging, false if it is not charging.