diff options
Diffstat (limited to 'include/charge_state.h')
-rw-r--r-- | include/charge_state.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/charge_state.h b/include/charge_state.h index eda78abfd9..455426f1ed 100644 --- a/include/charge_state.h +++ b/include/charge_state.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved. +/* Copyright (c) 2013 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. * @@ -134,5 +134,10 @@ enum power_state charge_get_state(void); */ int charge_get_percent(void); +/** + * Return non-zero if discharging and battery so low we should shut down. + */ +int charge_want_shutdown(void); + #endif /* __CROS_EC_CHARGE_STATE_H */ |