Drain battery if the chronometer is not stopped
GoogleCodeExporter opened this issue · comments
Google Code Exporter commented
What steps will reproduce the problem?
1. Start anstop chronometer
2. Close app
3. Wait
What is the expected output? What do you see instead?
Even when the application is closed, it continues running. My battery was
decreasing at a very fast rate, and Anstop was not appearing, neither in the
open applications, neither in the applications using battery in
BetterBatteryStat. The only thing I noticed was that the android Kernel was
waking the phone when in sleep mode, through AlarmManager. Then I noticed that
Anstop had been running in background since one month (I probably had forgotten
to stop the chrono) ! After uninstalling anstop, the battery drain is back to
normal, my phone is not waking up in sleep mode anymore.
I would say that the chronometer should stop when the app is closed, or keep a
notification saying that the chronometer is running. Otherwise there is NO WAY
of knowing that it is running. At least there should be a timeout parameter, so
that the chrono stops after one or two days !
What version of the product are you using? On what operating system?
Android 4.1.1
Anstop last version
Please provide any additional information below.
Original issue reported on code.google.com by get...@gmail.com
on 28 Jun 2014 at 12:43
Google Code Exporter commented
Hello getzze,
thanks for your feedback. You are using Version 1.5 right?
This bug is pretty strange, because Anstop does not use the AlarmManager at
all. It does not run in background. When you are closing Anstop, it just saves
the current time and on the next startup it calculates the time different
between now and the time the app was closed and determines the time that passed.
Are you sure that this problem is related to Anstop and not any other app? For
example there was an update to the Play Store recently which often has battery
problems!
Kind regards
Original comment by fakeacc...@gmail.com
on 1 Jul 2014 at 9:39
Google Code Exporter commented
Hello,
I was having a fast battery drain for some time already, I uninstalled other
apps without success. And when I realized that anstop had been "running" for
one month and stopped it, my battery was back to a normal decrease rate.
Are you sure that anstop is not creating a hook to the kernel or something. So
the kernel is constantly trying to send the information to anstop?
You didn't see any difference in battery drain when anstop was "running" ?
I uninstalled the app (because I actually didn't need it) so I do not know for
sure the version, but it was up to date from fdroid, so probably 1.5.
Original comment by get...@gmail.com
on 1 Jul 2014 at 5:10