ptanov / sofia-public-transport-navigator

This Android application helps people in choosing the bus station on which to wait. In real time it gives information about the estimated time of arrival for the selected station.
11 stars 5 forks source link

The app is using resources (battery) even if not being used #87

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Restart the phone.
2. Launch the app.
3. Close the app by tapping Back several times.
4. Wait for 10 minutes and check the battery usage on the phone.
5. Continue using the phone normally but do not launch the app anymore.
6. Check the battery usage after a day.

What is the expected output? What do you see instead?
After step 4 you don't see the app anywhere in the battery usage list - 
everything seems normal since you have used it just for a few seconds. However, 
after one day the app is in the top half of the battery usage list with 15%, 
which in my case means about 8% of the total battery capacity.

What version of the product are you using? On what operating system?
1.19. Andoid 2.3.5.

Please provide any additional information below.

Original issue reported on code.google.com by PlTos...@gmail.com on 28 Sep 2012 at 4:04

GoogleCodeExporter commented 9 years ago
This is very strange behavior, because application should not do anything in 
background...
I don't know how to investigate this issue :(
Can you check that GPS is not used (GPS icon in status bar is not displayed) if 
GPS is enabled, application is started and then closed, please? If after 
closing application GPS icon remains in status bar - this is the reason (GPS is 
not released by application when closed - bug in application).
Also can you check if phone standby time is decreased when application is 
started at least once, e.g. "restart phone, start application, close 
application and use phone normally and use phone normally until battery is 
discharged", then recharge battery, restart phone and use phone normally 
without starting application until battery is discharged... Compare two times 
in order to find if battery is actually discharged faster. If times to 
discharge are similar - there may be a bug in android battery statistic?!

Original comment by 1.Pla...@gmail.com on 22 Oct 2012 at 10:26

GoogleCodeExporter commented 9 years ago
Something similar is reported here:
https://play.google.com/store/apps/details?id=com.eclipsim.gpsstatus2
KNOWN FIRMWARE ISSUES (please do not report them): 
- Samsung phones: Because of a firmware bug, they may report extreme battery 
consumption for GPS Status even if it is not running at all (other programs 
using sensors are affected too). This is harmless and no power is consumed! 
Just ignore it and let's hope that a future firmware upgrade will fix this on 
your phone.

Original comment by 1.Pla...@gmail.com on 29 Oct 2012 at 9:46

GoogleCodeExporter commented 9 years ago

Original comment by 1.Pla...@gmail.com on 19 Nov 2013 at 1:00

GoogleCodeExporter commented 9 years ago
I have verified that the problem is with the Samsung firmware. Thanks. You can 
close the issue.

Original comment by PlTos...@gmail.com on 19 Nov 2013 at 3:40

GoogleCodeExporter commented 9 years ago

Original comment by 1.Pla...@gmail.com on 7 May 2014 at 10:56