I got bored...here is response 1
I've never seen this issue either.
The only time I've seen a SD card goes in read only mode is when there are errors on the card.
So I can imagine a few reasons for this issue:
- The file has reached the file size limit on a FAT16/32 file system, would require history logging every 10 seconds or so for a few month, unlikely though!?
- The file itself is corrupted and each time the app tries to write to it, the OS notices the issue
Here are a few questions that might help understand what's happening:
- Did he purchased the pro version, and might still be running both app logging in the same file!? Note that I do run both on the same file without problems...
- Did he changed the logging rate, 5 minutes is the default and works very well. One minute is the minimum that's actually useful on most ROMs (except CyanonGenMod ROMs which provides mA updates every 10 seconds or so I've heard).
- Is he using a Custom ROM?
- Has he been using the app for long, what's the history file size?
- Without widget, when he starts the app, does the SD card goes read-only too?
In any case, your member could first try to delete the history file if it resolves the issue, next is to backup the SD, format it and start again.
If neither of those works out he can change the location of the file to be on internal storage (NB: history logging should not be set under 1 minute and I recommend leaving 5 minutes in any case!)
To be on the safe side, he/she could also start by clearing the app data, hence starts with clean default settings (logging every 5 minutes)
One last resort is to disable the history logging completely... Only live monitoring will remain active, but the app will not write to the SD card any more.
Note that I suppose each attempt will require re-mounting the SD card in read/write mode...
Note also that the app is written in Java using standard file writer objects, hence nothing special about the file logging