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

Commit 627b4e2e authored by Dianne Hackborn's avatar Dianne Hackborn Committed by Android (Google) Code Review
Browse files

Merge "Battery: report calculated power, tweak signal strength colors."

parents e22559c5 18083b1e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -193,8 +193,8 @@ public class BatteryHistoryChart extends View {
        mWifiRunningPaint.setStyle(Paint.Style.STROKE);
        mWakeLockPaint.setStyle(Paint.Style.STROKE);
        mPhoneSignalChart.setColors(new int[] {
                0x00000000, 0xffa00000, 0xffa0a000, 0xff808020,
                0xff808040, 0xff808060, 0xff008000
                0x00000000, 0xffa00000, 0xffa07000, 0xffa0a000,
                0xff80a000, 0xff409000, 0xff008000
        });
        
        mTextPaint.density = getResources().getDisplayMetrics().density;
+1 −1
Original line number Diff line number Diff line
@@ -223,7 +223,7 @@ public class PowerUsageDetail extends Fragment implements Button.OnClickListener
                };
                values = new double[] {
                    helper.getPowerProfile().getBatteryCapacity(),
                    helper.getTotalPower(),
                    helper.getComputedPower(),
                    helper.getMinDrainedPower(),
                    helper.getMaxDrainedPower(),
                };