Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 12adf9d6 authored by Lei Yu's avatar Lei Yu
Browse files

Add config config_smart_battery_available

The default value is false, we can override it in overlay.

Bug: 79698191
Test: Build
Change-Id: I177e1c144f222ee32acce483f52d33910692ac3b
parent 8776299e
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -666,10 +666,13 @@
    <!-- Wifi driver supports IEEE80211AC for softap -->
    <bool translatable="false" name="config_wifi_softap_ieee80211ac_supported">false</bool>

    <!-- Flag indicating whether the we should enable the automatic brightness in Settings.
    <!-- Flag indicating whether we should enable the automatic brightness.
         Software implementation will be used if config_hardware_auto_brightness_available is not set -->
    <bool name="config_automatic_brightness_available">false</bool>

    <!-- Flag indicating whether we should enable smart battery. -->
    <bool name="config_smart_battery_available">false</bool>

    <!-- Fast brightness animation ramp rate in brightness units per second-->
    <integer translatable="false" name="config_brightness_ramp_rate_fast">180</integer>

+1 −0
Original line number Diff line number Diff line
@@ -1836,6 +1836,7 @@
  <java-symbol type="bool" name="config_useAttentionLight" />
  <java-symbol type="bool" name="config_animateScreenLights" />
  <java-symbol type="bool" name="config_automatic_brightness_available" />
  <java-symbol type="bool" name="config_smart_battery_available" />
  <java-symbol type="bool" name="config_autoBrightnessResetAmbientLuxAfterWarmUp" />
  <java-symbol type="bool" name="config_notificationHeaderClickableForExpand" />
  <java-symbol type="bool" name="config_enableNightMode" />