Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5fa09e6a authored by Hridya Valsaraju's avatar Hridya Valsaraju Committed by android-build-merger
Browse files

Add command to check whether off-mode-charging is enabled. am: 9d2c581e

am: ef24454e

Change-Id: Ieeeb204b7eecb939f20a5907e5bcea878ce2c7de
parents 1afe54b5 ef24454e
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -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);
};