mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
batt_smbus: read button status from the smart battery
This is a cherry-pick of commit 8bd17a4b0cd9c1432cb57a9a80a215692f532370 in 3drobotics/PX4Firmware-solo Conflicts: src/drivers/batt_smbus/batt_smbus.cpp src/drivers/drv_irlock.h src/lib/ecl
This commit is contained in:
committed by
Lorenz Meier
parent
7fc0b0925c
commit
6ac26c680d
@@ -3,3 +3,4 @@ float32 voltage_v # Battery voltage in volts, 0 if unknown
|
||||
float32 voltage_filtered_v # Battery voltage in volts, filtered, 0 if unknown
|
||||
float32 current_a # Battery current in amperes, -1 if unknown
|
||||
float32 discharged_mah # Discharged amount in mAh, -1 if unknown
|
||||
bool is_powering_off # Power off event imminent indication, false if unknown
|
||||
|
||||
Reference in New Issue
Block a user