mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Add command to check whether off-mode-charging is enabled.
Bug: 78793464 Bug: 79480454 Test: fastboot getvar off-mode-charge Change-Id: I1bd4148ff3476acf110e4aa95a40084300608875
This commit is contained in:
@@ -50,4 +50,13 @@ interface IFastboot {
|
||||
*/
|
||||
getVariant() generates (string variant, Result result);
|
||||
|
||||
/**
|
||||
* Returns whether off-mode-charging is enabled. If enabled, the device
|
||||
* autoboots into a special mode when power is applied.
|
||||
*
|
||||
* @response state Returns whether off mode charging is enabled.
|
||||
* @response result Returns the status SUCCESS if the operation is successful,
|
||||
* FAILURE_UNKNOWN otherwise.
|
||||
*/
|
||||
getOffModeChargeState() generates (bool state, Result result);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user