diff options
| author | Fenglin Wu <fenglinw@codeaurora.org> | 2016-11-22 12:50:25 +0800 |
|---|---|---|
| committer | Fenglin Wu <fenglinw@codeaurora.org> | 2016-12-16 13:43:59 +0800 |
| commit | 2a16792344fae47d8c1e4b0610b7473a29413492 (patch) | |
| tree | e0a2439df441ba7310e8d42a3b28096639b7cb36 /net/unix/af_unix.c | |
| parent | 3162449f7d245d45f007d4ea3224576ddf1bcc63 (diff) | |
power: power_supply: Add property for ship mode
In ship mode the charger module opens the bat-fet and disconnects the
battery from the system. This is for the non-removable battery designs
to avoid them from being discharged when shipped/on-shelf.
The ship mode is enabled during the final stage of power-off typically
from the PON driver. Hence, add property POWER_SUPPLY_PROP_SET_SHIP_MODE
to force the device into ship-mode.
CRs-Fixed: 1092969
Change-Id: I43893355db063d99b6faf965093fad74ec0c9253
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
