summaryrefslogtreecommitdiff
path: root/board/peppy/battery.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/peppy/battery.c')
-rw-r--r--board/peppy/battery.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/board/peppy/battery.c b/board/peppy/battery.c
index 3d5856ef30..8a9411d7c9 100644
--- a/board/peppy/battery.c
+++ b/board/peppy/battery.c
@@ -42,11 +42,3 @@ int battery_command_cut_off(struct host_cmd_handler_args *args)
}
DECLARE_HOST_COMMAND(EC_CMD_BATTERY_CUT_OFF, battery_command_cut_off,
EC_VER_MASK(0));
-
-/**
- * Physical detection of battery connection.
- */
-int battery_is_connected(void)
-{
- return (gpio_get_level(GPIO_BAT_DETECT_L) == 0);
-}