carleewang / cm9-msm8960

Automatically exported from code.google.com/p/cm9-msm8960
0 stars 0 forks source link

LED turns green before phone is charged #115

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Plug the phone into a wall charger 
2. Charge up to 90%

What is the expected output? What do you see instead?

The green "charged" indicator appears too soon, somewhere around 90%. The phone 
continues to charge until full but the indicator stays on until unplugged and 
discharging. 

What version of the product are you using? On what operating system?

CM10 9/15 Nightly

Please provide any additional information below.

N/A

Original issue reported on code.google.com by eddi...@gmail.com on 18 Sep 2012 at 12:50

GoogleCodeExporter commented 9 years ago
This is not exactly an bug-type issue, as I've had phones that have done this 
in the past on their stock roms. It could be firmware instead of software issue.

You can use Light Flow Lite - LED Control in the meantime to change how you 
want your LED to work.

Original comment by gimmeto...@gmail.com on 18 Sep 2012 at 3:51

GoogleCodeExporter commented 9 years ago
Noted and apparently this has been in AOSP since Android 1.6

if (status == BatteryManager.BATTERY_STATUS_FULL || level >= 90) {
         mBatteryLight.setColor(mBatteryFullARGB);
}

I sent a patch up and was denied as this has been like this and will stay that 
way.

Original comment by h8r...@gmail.com on 24 Sep 2012 at 1:58

GoogleCodeExporter commented 9 years ago
Ah ok that's fine. Thanks for looking into it.

Original comment by ed...@unioneditorial.com on 24 Sep 2012 at 3:10