I am developing live wallpaper application.
for the one hour and 15 minutes my phone has
been on, live wallpaper has accounted for 26 percent of battery use,
which seems high for changing the wallpaper once per minute?
what i have to do for this problem?
How can i reduce the battery usage. and the application use low battery for the application ?
Some more information about what your wallpaper is doing would be helpful, but here are some things to consider:
Stop/start any drawing loops in onVisibilityChanged. If you are listening for any sensor input stop that here as well.
Only draw a frame if something has changed. No need for 30fps if you’re only updating once a minute.
That’s all I can think of at a general level. If you tell me exactly what you’re doing I might be able to give you more.