dicekeys / beta-program

Information for the DiceKeys beta
5 stars 3 forks source link

Web app eats phone battery #22

Closed fruiz500 closed 3 years ago

fruiz500 commented 3 years ago

iPhone SE battery level went from nearly 100% to around 60% after barely 5 minutes of (unsuccessful) use from Safari, plus half-hour of non-use. It seems the app kept either the camera or the processing going after it was closed.

The app took shots at irregular intervals of around 10 seconds. The closest the app got to recognizing the code is the picture below. IMG_4212

UppaJung commented 3 years ago

Please let me know if the version at https://staging.dicekeys.app/ resolves this issue with the camera not being freed and processing not turning off. During the scanning process (which should hopefully take 5 seconds, not 5 minutes) there's not much to be done to reduce power usage other than to get a native app out.

fruiz500 commented 3 years ago

I can confirm that the version of Sept. 25 morning does not eat battery like yesterday's version did. Unfortunately, there is no image in an iPhone SE under Safari and iOS 14.0.1. Chrome never gets to select the camera successfully, in the same device.

IMG_4215