summaryrefslogtreecommitdiff
path: root/include/battery.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/battery.h')
-rw-r--r--include/battery.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/battery.h b/include/battery.h
index 3576299a77..f32b202d33 100644
--- a/include/battery.h
+++ b/include/battery.h
@@ -379,6 +379,14 @@ int battery_manufacturer_date(int *year, int *month, int *day);
int battery_manufacturer_data(char *data, int size);
/**
+ * Write battery manufacturer access.
+ *
+ * @param cmd Destiation for battery manufacturer access command.
+ * @retun non-zeor if error.
+ */
+int battery_manufacturer_access(int cmd);
+
+/**
* Report the absolute difference between the highest and lowest cell voltage in
* the battery pack, in millivolts. On error or unimplemented, returns '0'.
*/