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

Commit 8db14d7d authored by Mike Ma's avatar Mike Ma
Browse files

Remove PowerProfile.POWER_NONE

Change-Id: I49b3f3989a675bcb1ef83f5b86a55f3f5a0d3b2f
Fixes: 74389802
Test: com.android.internal.os.PowerProfileTest
parent a42585c3
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -38,11 +38,6 @@ import java.util.HashMap;
 */
public class PowerProfile {

    /**
     * No power consumption, or accounted for elsewhere.
     */
    public static final String POWER_NONE = "none";

    /*
     * POWER_CPU_SUSPEND: Power consumption when CPU is in power collapse mode.
     * POWER_CPU_IDLE: Power consumption when CPU is awake (when a wake lock is held). This should
+0 −1
Original line number Diff line number Diff line
@@ -27,7 +27,6 @@
       are totally dependent on the platform and can vary
       significantly, so should be measured on the shipping platform
       with a power meter. -->
  <item name="none">0</item>
  <item name="ambient.on">0.1</item>  <!-- ~100mA -->
  <item name="screen.on">0.1</item>  <!-- ~100mA -->
  <item name="screen.full">0.1</item>  <!-- ~100mA -->
+0 −3
Original line number Diff line number Diff line
@@ -24,9 +24,6 @@
         sample values, not meant to reflect any real device.
    -->

    <!-- Nothing -->
    <item name="none">0</item>

    <!-- This is the battery capacity in mAh -->
    <item name="battery.capacity">3000</item>