7yl4r / AvatarWallpaper

:man: Android live wallpaper avatar used for exploring the proteus effect in a mobile context in coordination with the MirrorMe project.
https://play.google.com/store/apps/details?id=edu.usf.eng.pie.avatars4change
2 stars 3 forks source link

Screen stays on unless explicitly shut off #30

Closed raij closed 11 years ago

raij commented 11 years ago

I think the app is holding a wakelock, which keeps the screen on indefinitely. This significantly affects battery life.

7yl4r commented 11 years ago

I haven't seen any wakelock code in there, and the manifest doesn't give the permission.

I also don't see this on my phone...

You have the Samsung Galaxy S III/SCH-I535 running android 4.. right? I was unable to reproduce this using another phone running android 4.* either, so it may be a device-specific issue.

raij commented 11 years ago

Yes, that's my phone. I'm running a battery debug app to see who has that wake lock.


Andrew Raij, Ph.D. Assistant Professor, Department of Electrical Engineering Department of Computer Science and Engineering (courtesy) University of South Florida E-mail: raij@usf.edumailto:raij@usf.edu Web: http://www.eng.usf.edu/~raij

On Mar 13, 2013, at 12:22 AM, Tylar notifications@github.com<mailto:notifications@github.com> wrote:

I haven't seen any wakelock code in there, and the manifest doesn't give the permission.

I also don't see this on my phone...

You have the Samsung Galaxy S III/SCH-I535 running android 4.. right? I was unable to reproduce this using another phone running android 4.* either, so it may be a device-specific issue.

— Reply to this email directly or view it on GitHubhttps://github.com/7yl4r/AvatarWallpaper/issues/30#issuecomment-14823770.

raij commented 11 years ago

I can't replicate this anymore. My display shuts off as expected today. So, perhaps we can close this bug.

-Andrew


Andrew Raij, Ph.D. Assistant Professor, Department of Electrical Engineering Department of Computer Science and Engineering (courtesy) University of South Florida E-mail: raij@usf.edumailto:raij@usf.edu Web: http://www.eng.usf.edu/~raij

On Mar 13, 2013, at 12:22 AM, Tylar notifications@github.com<mailto:notifications@github.com> wrote:

I haven't seen any wakelock code in there, and the manifest doesn't give the permission.

I also don't see this on my phone...

You have the Samsung Galaxy S III/SCH-I535 running android 4.. right? I was unable to reproduce this using another phone running android 4.* either, so it may be a device-specific issue.

— Reply to this email directly or view it on GitHubhttps://github.com/7yl4r/AvatarWallpaper/issues/30#issuecomment-14823770.

7yl4r commented 11 years ago

I've seen multiple different reports of strange behavior like this for services which run constantly. So far as I can tell, there are several similar known issues across different phones and android versions.

Since there doesn't seem to be anything we can do in our code besides be wary of it, I'm marking it as closed.