Home
last modified time | relevance | path

Searched refs:Battery (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/core/java/android/net/
Dnetwork-policy-restrictions.md1 # Data Saver vs Battery Saver
3 …k access while on background depending on the status of Data Saver mode, Battery Saver mode, and t…
7 The 2 topmost rows define the Battery Saver mode and whether the app is allowlisted or not for it.
15 * **BS ON**: Battery Saver Mode is on
16 * **BS OFF**: Battery Saver Mode is off
/frameworks/base/core/proto/android/service/
Dbattery.proto39 // Battery capacity in microampere-hours
43 // Battery health
51 // Battery voltage in millivolts
53 // Battery temperature in tenths of a degree Centigrade
/frameworks/base/core/proto/android/app/
Dsettings_enums.proto182 // ACTION: Allow Battery optimization for an app
185 // ACTION: Deny Battery optimization for an app
266 // ACTION: Settings > Battery > Menu > Optimization
269 // ACTION: Settings > Battery > Menu > Apps Toggle
434 // ACTION: Settings > Battery settings > Battery tip > App restriction tip
438 // ACTION: Settings > Battery settings > Battery tip > High usage tip
442 // ACTION: Settings > Battery settings > Battery tip > Summary tip
446 // ACTION: Settings > Battery settings > Battery tip > Smart battery tip
450 // ACTION: Settings > Battery settings > Battery tip > Early warning tip
454 // ACTION: Settings > Battery settings > Battery tip > Low battery tip
[all …]
/frameworks/hardware/interfaces/stats/1.0/
Dtypes.hal128 /* Voltage Battery Voltage, in microVolts. */
131 /* Current Battery current, in microAmps. */
134 /* OpenCircuitVoltage Battery Open Circuit Voltage, in microVolts. */
137 /* Resistance Battery Resistance, in microOhms. */
140 /* Level Battery Level, as % of full. */
/frameworks/base/services/core/java/com/android/server/am/
DOWNERS30 # Battery Stats
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto523 // OPEN: Settings > Battery > History details
528 // OPEN: Settings > Battery > Battery saver
533 // OPEN: Settings > Battery > [App Use details]
538 // OPEN: Settings > Battery
1217 // OPEN: Settings > Battery > Battery optimization
1625 // OPEN: QS Battery tile shown
1697 // OPEN: QS Battery detail panel
2163 // Battery saver on
2639 // OPEN: Settings > Battery optimization > details for app
3550 // ACTION: Allow Battery optimization for an app
[all …]
/frameworks/base/core/proto/android/os/
Dbatterystats.proto70 message Battery { message
107 optional Battery battery = 1;
166 // Battery level
191 // Battery Saver mode for the entire battery level step. MIXED is used
205 // Battery level steps when the device was charging.
207 // Battery level steps when the device was discharging.
359 // Starting in Oreo, Battery Settings has two modes to display the battery
696 // Starting in Oreo, Battery Settings has two modes to display the battery
Denums.proto72 // Battery Charge Limit - virtual thermal sensors.
/frameworks/base/core/proto/android/providers/settings/
Dglobal.proto122 message Battery { message
132 optional Battery battery = 19;
546 // Battery level [1-100] at which low power mode automatically turns on. If
710 // Details about the User Absent For Small Battery feature.
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProtoDumpUtil.java222 GlobalSettingsProto.Battery.DISCHARGE_DURATION_THRESHOLD); in dumpProtoGlobalSettingsLocked()
225 GlobalSettingsProto.Battery.DISCHARGE_THRESHOLD); in dumpProtoGlobalSettingsLocked()
228 GlobalSettingsProto.Battery.SAVER_CONSTANTS); in dumpProtoGlobalSettingsLocked()
231 GlobalSettingsProto.Battery.SAVER_DEVICE_SPECIFIC_CONSTANTS); in dumpProtoGlobalSettingsLocked()
234 GlobalSettingsProto.Battery.STATS_CONSTANTS); in dumpProtoGlobalSettingsLocked()
237 GlobalSettingsProto.Battery.TIP_CONSTANTS); in dumpProtoGlobalSettingsLocked()
/frameworks/base/core/java/android/os/
DBatteryStats.java7854 proto.write(SystemProto.Battery.START_CLOCK_TIME_MS, getStartClockTime()); in dumpProtoSystemLocked()
7855 proto.write(SystemProto.Battery.START_COUNT, getStartCount()); in dumpProtoSystemLocked()
7856 proto.write(SystemProto.Battery.TOTAL_REALTIME_MS, in dumpProtoSystemLocked()
7858 proto.write(SystemProto.Battery.TOTAL_UPTIME_MS, in dumpProtoSystemLocked()
7860 proto.write(SystemProto.Battery.BATTERY_REALTIME_MS, in dumpProtoSystemLocked()
7862 proto.write(SystemProto.Battery.BATTERY_UPTIME_MS, in dumpProtoSystemLocked()
7864 proto.write(SystemProto.Battery.SCREEN_OFF_REALTIME_MS, in dumpProtoSystemLocked()
7866 proto.write(SystemProto.Battery.SCREEN_OFF_UPTIME_MS, in dumpProtoSystemLocked()
7868 proto.write(SystemProto.Battery.SCREEN_DOZE_DURATION_MS, in dumpProtoSystemLocked()
7870 proto.write(SystemProto.Battery.ESTIMATED_BATTERY_CAPACITY_MAH, in dumpProtoSystemLocked()
[all …]
/frameworks/base/tools/powermodel/src/com/android/powermodel/
DRawBatteryStats.java172 public static class Battery extends Record { class in RawBatteryStats
/frameworks/base/cmds/statsd/src/
Datoms.proto976 * Logs Battery Saver state change.
1028 // Battery level. Should be in [0, 100].
2639 // Voltage Battery Voltage, in microVolts.
2641 // Current Battery current, in microAmps.
2643 // OpenCircuitVoltage Battery Open Circuit Voltage, in microVolts.
2645 // Resistance Battery Resistance, in microOhms.
2647 // Level Battery Level, as % of full.
4702 // Battery level. Should be in [0, 100].
/frameworks/base/core/proto/android/server/
Djobscheduler.proto871 // Battery Saver). This implicit constraint must be satisfied for the
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt53458 Landroid/os/SystemProto$Battery;->BATTERY_REALTIME_MS:J
53459 Landroid/os/SystemProto$Battery;->BATTERY_UPTIME_MS:J
53460 Landroid/os/SystemProto$Battery;->ESTIMATED_BATTERY_CAPACITY_MAH:J
53461 Landroid/os/SystemProto$Battery;->MAX_LEARNED_BATTERY_CAPACITY_UAH:J
53462 Landroid/os/SystemProto$Battery;->MIN_LEARNED_BATTERY_CAPACITY_UAH:J
53463 Landroid/os/SystemProto$Battery;->SCREEN_DOZE_DURATION_MS:J
53464 Landroid/os/SystemProto$Battery;->SCREEN_OFF_REALTIME_MS:J
53465 Landroid/os/SystemProto$Battery;->SCREEN_OFF_UPTIME_MS:J
53466 Landroid/os/SystemProto$Battery;->START_CLOCK_TIME_MS:J
53467 Landroid/os/SystemProto$Battery;->START_COUNT:J
[all …]