summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/battery.h6
-rw-r--r--include/battery_smart.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/include/battery.h b/include/battery.h
index 10d0b6dcd0..b5056cf9d4 100644
--- a/include/battery.h
+++ b/include/battery.h
@@ -86,7 +86,7 @@ int battery_is_connected(void);
/**
* Get battery mode.
*
- * See MODE_* constants in smart_battery.h
+ * See MODE_* constants in battery_smart.h
*
* @param mode Destination for current mode.
* @return non-zero if error.
@@ -96,7 +96,7 @@ int battery_get_mode(int *mode);
/**
* Set battery mode.
*
- * See MODE_* constants in smart_battery.h
+ * See MODE_* constants in battery_smart.h
*
* @param mode New mode.
* @return non-zero if error.
@@ -267,7 +267,7 @@ int battery_charging_allowed(int *allowed);
/**
* Read battery status.
*
- * @param status Destination for status; see STATUS_* in smart_battery.h.
+ * @param status Destination for status; see STATUS_* in battery_smart.h.
* @return non-zero if error.
*/
int battery_status(int *status);
diff --git a/include/battery_smart.h b/include/battery_smart.h
index 6324f1c31d..3e031b8f60 100644
--- a/include/battery_smart.h
+++ b/include/battery_smart.h
@@ -80,7 +80,7 @@
#define STATUS_FULLY_DISCHARGED (1 << 4)
#define STATUS_FULLY_CHARGED (1 << 5)
#define STATUS_DISCHARGING (1 << 6)
-#define STATUS_INITIALIZING (1 << 7)
+#define STATUS_INITIALIZED (1 << 7)
#define STATUS_REMAINING_TIME_ALARM (1 << 8)
#define STATUS_REMAINING_CAPACITY_ALARM (1 << 9)
#define STATUS_TERMINATE_DISCHARGE_ALARM (1 << 11)