I developed an app that automatically takes a photo every 5 minutes. To do this I have to keep the device always alive and never let it go in the background.
This leads to high battery consumption.
I tried with Receivers to wake the device every 5 minutes, keeping the App in the foreground but with poor results. Every time it goes into the background everything stops.
I tried to have the shot taken by a service that I always kept alive with the "Draw on App" method but if it doesn't have an activity and a panel to connect to, CamEX2 can't take photos.
I wonder if it is possible to reduce consumption on the mini by taking a photo every 5 minutes.
This leads to high battery consumption.
I tried with Receivers to wake the device every 5 minutes, keeping the App in the foreground but with poor results. Every time it goes into the background everything stops.
I tried to have the shot taken by a service that I always kept alive with the "Draw on App" method but if it doesn't have an activity and a panel to connect to, CamEX2 can't take photos.
I wonder if it is possible to reduce consumption on the mini by taking a photo every 5 minutes.
Last edited: