Add AOSP smart battery entries
- Revert "Cleanup smart battery entries (1/3)" patch only instead whole topic, updated part of codes to resolve the conflicts
This reverts commit 742e506d13
.
Reason for revert: b/315401539
Bug: 315401539
Change-Id: I75a4e4f75b624c90aae18288c77214c0238e43eb
This commit is contained in:
@@ -98,6 +98,12 @@ public interface PowerUsageFeatureProvider {
|
||||
/** Checks whether we should show usage information by slots or not */
|
||||
boolean isChartGraphSlotsEnabled(Context context);
|
||||
|
||||
/** Checks whether adaptive charging feature is supported in this device */
|
||||
boolean isAdaptiveChargingSupported();
|
||||
|
||||
/** Checks whether battery manager feature is supported in this device */
|
||||
boolean isBatteryManagerSupported();
|
||||
|
||||
/** Returns {@code true} if current defender mode is extra defend */
|
||||
boolean isExtraDefend();
|
||||
|
||||
|
Reference in New Issue
Block a user