diff options
Diffstat (limited to 'driver/battery/smart.c')
-rw-r--r-- | driver/battery/smart.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/driver/battery/smart.c b/driver/battery/smart.c index 72cf545afe..91058150fa 100644 --- a/driver/battery/smart.c +++ b/driver/battery/smart.c @@ -321,6 +321,11 @@ test_mockable int battery_device_chemistry(char *dest, int size) return sb_read_string(SB_DEVICE_CHEMISTRY, dest, size); } +int battery_manufacturer_data(char *data, int size) +{ + return sb_read_string(SB_MANUFACTURER_DATA, data, size); +} + int battery_get_avg_current(void) { int current; |