From 9d8991dd29dad36614c58ff18913281ff229195d Mon Sep 17 00:00:00 2001 From: dulibo1 Date: Wed, 27 Mar 2024 15:54:03 +0800 Subject: [PATCH] power:add BATIO_OPRTN_CHARGER_STATE for gauge sync charger state. Signed-off-by: dulibo1 --- include/nuttx/power/battery_ioctl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/nuttx/power/battery_ioctl.h b/include/nuttx/power/battery_ioctl.h index 0d9f71005e..f93129092d 100644 --- a/include/nuttx/power/battery_ioctl.h +++ b/include/nuttx/power/battery_ioctl.h @@ -148,6 +148,7 @@ enum batio_operate_e BATIO_OPRTN_CUTOFF_CURRENT, BATIO_OPRTN_VBUS_STATE, BATIO_OPRTN_CAPACITY, + BATIO_OPRTN_CHARGER_STATE, BATIO_OPRTN_END };