From 0cfc6a087f103dfa1a03d5e6671844ddd4ac8c14 Mon Sep 17 00:00:00 2001 From: Alec Berg Date: Sun, 1 Feb 2015 12:55:39 -0800 Subject: hooks: add hook for battery state of charge change Add hook for battery state of charge change. Hook will be used to cleanup the samus charging workarounds to follow. BUG=none BRANCH=samus TEST=make -j buildall Change-Id: I99cbb8264783802139cac689804b056623063695 Signed-off-by: Alec Berg Reviewed-on: https://chromium-review.googlesource.com/245252 Reviewed-by: Shawn N --- common/hooks.c | 1 + 1 file changed, 1 insertion(+) (limited to 'common/hooks.c') diff --git a/common/hooks.c b/common/hooks.c index f95d531947..c07a3d1d1c 100644 --- a/common/hooks.c +++ b/common/hooks.c @@ -45,6 +45,7 @@ static const struct hook_ptrs hook_list[] = { {__hooks_lid_change, __hooks_lid_change_end}, {__hooks_pwrbtn_change, __hooks_pwrbtn_change_end}, {__hooks_charge_state_change, __hooks_charge_state_change_end}, + {__hooks_battery_soc_change, __hooks_battery_soc_change_end}, {__hooks_tick, __hooks_tick_end}, {__hooks_second, __hooks_second_end}, }; -- cgit v1.2.1