![]() |
2010-01-03
, 19:51
|
|
Posts: 2,361 |
Thanked: 3,746 times |
Joined on Dec 2007
@ Berlin - Love this city!!
|
#12
|
![]() |
2010-01-03
, 20:20
|
Posts: 14 |
Thanked: 3 times |
Joined on Jan 2010
|
#13
|
It's not easier to just calculate the time elapsed for a percent of charge, and estimate the remaining time based on that info ?
![]() |
2010-01-03
, 20:30
|
Posts: 90 |
Thanked: 48 times |
Joined on Dec 2009
@ Montpellier, France
|
#14
|
![]() |
2010-01-03
, 20:45
|
Posts: 90 |
Thanked: 48 times |
Joined on Dec 2009
@ Montpellier, France
|
#15
|
The Following User Says Thank You to ravioli156 For This Useful Post: | ||
![]() |
2010-01-03
, 21:04
|
Posts: 14 |
Thanked: 3 times |
Joined on Jan 2010
|
#16
|
But you can rely on voltage.current and voltage.design to approximately determine the remaining time, with the same method as above.
And better, you can check at the first launch of your program the voltage.current when battery is considered as full, to know what's the max level the battery can achieve.
Because everyone can have a battery with a max voltage different, so once again I don't see how the results sent by users will help you.
![]() |
2010-01-03
, 21:30
|
Posts: 90 |
Thanked: 48 times |
Joined on Dec 2009
@ Montpellier, France
|
#17
|
![]() |
2010-01-03
, 21:52
|
Posts: 14 |
Thanked: 3 times |
Joined on Jan 2010
|
#18
|
But there is a problem, how to be sure that the charging curve is constant in the time (and I'm pretty sure it won't, problem is N900 has been released since a month only), and how to be sure that there are not (or there won't be) different models of battery ?
In addition to the data you'll get, the best is not to collect data on the phone where the application is installed at each charging, so the estimation will remain the closest of the reality ?
![]() |
2010-01-03
, 22:26
|
Posts: 90 |
Thanked: 48 times |
Joined on Dec 2009
@ Montpellier, France
|
#19
|
![]() |
2010-01-03
, 23:56
|
Posts: 14 |
Thanked: 3 times |
Joined on Jan 2010
|
#20
|
So you'll know that for this specific phone, 4040mAh equals 32 minutes remaining for this phone, instead of 40, because the last 10 chargings, on average, there was 32m remaining @ 4040mAh, 25m @ 4100, 15 @ 4150, 5 @ 4170.
And because a battery degrade in time, and a new firmware can also improve - or not - battery duration, your program will always be accurate.
I'm maybe wrong, but it's how I see the thing
e.g. : starts charging at 15%, when the battery is 16% charged, 2 minutes have passed. So the remaining time is (100 - 16) * 2 = 168 min
and each percent gained, you redo the thing, so when battery is 80% charged, you know that (80 - 15) = 65 percent takes 50min, so 20% left will take (20 * 50 / 65) = 15 minutes
Smash is the way you deal with your life, like an outcast you're smashing your strife