Commit 4cc2931b authored by Vatsal Parasrampuria's avatar Vatsal Parasrampuria Committed by Treehugger Robot
Browse files

ANDROID: wakeupbypass: Add vendor hook for batteryswap



Implemented a hook to check if battery swap is enabled in
alarm timer suspend routine. During a battery swap, it is
crucial to ensure that the device remains in a suspended
state, relying on a limited backup power source. It is
essential to prevent any unintended awakenings in this
state, as they could potentially lead to sudden surges
in the power consumption, ultimately resulting in a
device shutdown. Hence, we disable alarmtimer IRQs when
in batteryswap mode.

Bug: 290881352
Bug: 298017820
Respin Bug: b/298017820
Change-Id: I31dc30d9a3168bb1356cccba49f0a70fd6b73782
Signed-off-by: default avatarVatsal Parasrampuria <vp9924@zebra.com>
parent d2d1ff64
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment