This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Backup in case smartphone runs out of battery
#1
Hello,

From time to time it happens the smartphone shutdown due to running out of battery Angry 
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
Reply
#2
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/Remot...munication, and store what you need on another device.
Reply
#3
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
Bidouilleur en Haute Savoie Idea
Reply
#4
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.
Reply


Forum Jump: