1 2 3 4 5 6 7 8 9
#include <battery/battery.h> /* Battery Management: Dummy file when no charging logic exists. */ struct osmocom_battery_info osmocom_battery_info; void battery_dummy_init(){ osmocom_battery_info.flags = BATTERY_FAILURE; /* not implemented */ }