battery: disable module if battery.present is 0 64/275064/4
authorYoungjae Cho <y0.cho@samsung.com>
Mon, 16 May 2022 06:59:55 +0000 (15:59 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Wed, 8 Jun 2022 05:31:12 +0000 (14:31 +0900)
commitc1186415d46f0e7d7f4f9c263e5b915eaf6f1904
treed3d200ef90f37f9b1eee8a977d392c0eb5c95a03
parentd015842e4413445707556227a50215e341b905b6
battery: disable module if battery.present is 0

The actual behavior of no battery remains same as before. It is the
main purpose of this patch that cleaning up handlings and loggins.

Change-Id: Iaae8ac1ce6a438f0a2984d7ea6a3e6953ff8a51f
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
src/battery/power-supply.c