Lines Matching refs:battery
4 Charger Manager provides in-kernel battery charger management that
6 and where each battery may have multiple chargers attached and the userland
11 represents an independent battery with chargers. If there are multiple
24 different information about the battery status. This framework
29 While the battery is being charged and the system is in suspend-to-RAM,
30 we may need to monitor the battery health by looking at the ambient or
31 battery temperature. We can accomplish this by waking up the system
33 monitoring the battery health and tasks, and user processes that are
38 only affects the charging time, but the lifespan of the battery.
47 * Support for premature full-battery event handling
48 If the battery voltage drops by "fullbatt_vchkdrop_uV" after
49 "fullbatt_vchkdrop_ms" from the full-battery event, the framework
97 When cm_suspend_again is called, it monitors every battery. The suspend_ops
110 For each battery charged independently from other batteries (if a series of
112 battery), an instance of Charger Manager is attached to it.
117 : The power-supply-class name of the battery. Default is
118 "battery" if psy_name is NULL. Users can access the psy entries
122 : CM_POLL_DISABLE: do not poll this battery.
123 CM_POLL_ALWAYS: always poll this battery.
124 CM_POLL_EXTERNAL_POWER_ONLY: poll this battery if and only if
126 CM_POLL_CHARGING_ONLY: poll this battery if and only if the
127 battery is being charged.
132 battery voltage drop fullbatt_vchkdrop_ms after the battery is fully
134 Manager will try to recharge the battery by disabling and enabling
141 that the battery is full (capacity = 100) if the battery is not being
142 charged and the battery voltage is equal to or greater than
147 this battery every polling_interval_ms or more frequently.
150 : CM_BATTERY_PRESENT: assume that the battery exists.
151 CM_NO_BATTERY: assume that the battery does not exists.
152 CM_FUEL_GAUGE: get battery presence information from fuel gauge.
153 CM_CHARGER_STAT: get battery presence from chargers.
160 the battery is {"FULL" or not FULL} or {"FULL", "Charging",
177 The source of temperature can be battery or ambient one according to
194 At the charger/battery-related events such as battery-pulled-out,
198 a) charger-on/off b) external-power-in/out c) battery-in/out (while charging)