Linux Kernel
3.7.1
|
#include <charger-manager.h>
Data Fields | |
char * | psy_name |
enum polling_modes | polling_mode |
unsigned int | polling_interval_ms |
unsigned int | fullbatt_vchkdrop_ms |
unsigned int | fullbatt_vchkdrop_uV |
unsigned int | fullbatt_uV |
unsigned int | fullbatt_soc |
unsigned int | fullbatt_full_capacity |
enum data_source | battery_present |
char ** | psy_charger_stat |
int | num_charger_regulators |
struct charger_regulator * | charger_regulators |
char * | psy_fuel_gauge |
int(* | temperature_out_of_range )(int *mC) |
bool | measure_battery_temp |
u64 | charging_max_duration_ms |
u64 | discharging_max_duration_ms |
struct charger_desc : the name of power-supply-class for charger manager : Determine which polling mode will be used : : Check voltage drop after the battery is fully charged. If it has dropped more than fullbatt_vchkdrop_uV after fullbatt_vchkdrop_ms, CM will restart charging. : voltage in microvolt If VBATT >= fullbatt_uV, it is assumed to be full. : state of Charge in % If state of Charge >= fullbatt_soc, it is assumed to be full. : full capacity measure If full capacity of battery >= fullbatt_full_capacity, it is assumed to be full. : interval in millisecond at which charger manager will monitor battery health : Specify where information for existance of battery can be obtained : the names of power-supply for chargers : the number of entries in charger_regulators : array of charger regulators : the name of power-supply for fuel gauge : Determine whether the status is overheat or cold or normal. return_value > 0: overheat return_value == 0: normal return_value < 0: cold : true: measure battery temperature false: measure ambient temperature : Maximum possible duration for charging If whole charging duration exceed 'charging_max_duration_ms', cm stop charging. : Maximum possible duration for discharging with charger cable after full-batt. If discharging duration exceed 'discharging max_duration_ms', cm start charging.
Definition at line 192 of file charger-manager.h.
enum data_source battery_present |
Definition at line 204 of file charger-manager.h.
struct charger_regulator* charger_regulators |
Definition at line 209 of file charger-manager.h.
u64 charging_max_duration_ms |
Definition at line 216 of file charger-manager.h.
u64 discharging_max_duration_ms |
Definition at line 217 of file charger-manager.h.
unsigned int fullbatt_full_capacity |
Definition at line 202 of file charger-manager.h.
unsigned int fullbatt_soc |
Definition at line 201 of file charger-manager.h.
unsigned int fullbatt_uV |
Definition at line 200 of file charger-manager.h.
unsigned int fullbatt_vchkdrop_ms |
Definition at line 198 of file charger-manager.h.
unsigned int fullbatt_vchkdrop_uV |
Definition at line 199 of file charger-manager.h.
bool measure_battery_temp |
Definition at line 214 of file charger-manager.h.
int num_charger_regulators |
Definition at line 208 of file charger-manager.h.
unsigned int polling_interval_ms |
Definition at line 196 of file charger-manager.h.
enum polling_modes polling_mode |
Definition at line 195 of file charger-manager.h.
char** psy_charger_stat |
Definition at line 206 of file charger-manager.h.
char* psy_fuel_gauge |
Definition at line 211 of file charger-manager.h.
char* psy_name |
Definition at line 193 of file charger-manager.h.
Definition at line 213 of file charger-manager.h.