Backup in case smartphone runs out of battery - Printable Version +- phyphox Forums (https://phyphox.org/forums) +-- Forum: App-Feedback (https://phyphox.org/forums/forumdisplay.php?fid=6) +--- Forum: Feature requests (https://phyphox.org/forums/forumdisplay.php?fid=8) +--- Thread: Backup in case smartphone runs out of battery (/showthread.php?tid=1699) |
Backup in case smartphone runs out of battery - B. Douille - 02-16-2023 Hello, From time to time it happens the smartphone shutdown due to running out of battery I believe that when the next time the App is started the samples previously stored in memory or in the cache are juste wiped off. Would it be possible to keep this precious data, asking the user if he wants to save it or clean it? I see such workflow in some Apps like editors or GPS position trackers. Thanks in advance RE: Backup in case smartphone runs out of battery - Jens Noriʇzsɔɥ - 02-17-2023 Unfortunately, the measurement data during a run is kept in volatile memory (perhaps performance reasons…?) that's why it is lost if the smartphones shuts down. The infrastructure inside the app is also not (yet) ready for some kind of autosave. This certainly needs some adaptations to the phyphox file format, like separation of data from the rest. At the moment, the best idea for (really) longterm measurements is to collect the data by the REST interface, https://phyphox.org/wiki/index.php/Remote-interface_communication, and store what you need on another device. RE: Backup in case smartphone runs out of battery - B. Douille - 02-20-2023 Understood. Unfortunately I can't always have a connection available. I have best to use an external battery. Anyway I'll try this feature one day or another. Thanks RE: Backup in case smartphone runs out of battery - Jens Noriʇzsɔɥ - 02-22-2023 You could reduce the battery drain by utilising the “Proximity lock” setting that we have recently added. If you cover the proximity sensor, the display switches off then. |