PowerSourceLog
Type of the charger being used to charge the battery.
Enums |
POWER_SOURCE_LOG_UNSPECIFIED |
Power source unknown. |
POWER_SOURCE_LOG_AC |
Power source is an AC charger. |
POWER_SOURCE_LOG_USB |
Power source is a USB port. |
POWER_SOURCE_LOG_WIRELESS |
Power source is wireless. |
POWER_SOURCE_LOG_UNPLUGGED |
Battery is unplugged. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-24 UTC.
[null,null,["Last updated 2024-07-24 UTC."],[[["This documentation describes the different types of chargers that can be used to charge a battery."],["The charger types are categorized using enums, including AC, USB, Wireless, and Unplugged states, along with an unspecified option for unknown power sources."],["Each enum value represents a specific charging scenario, like when the battery is plugged into an AC adapter, a USB port, a wireless charger, or when it is not connected to any power source."]]],[]]