Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Android music playing app that keeps stats until battery dies? (Read 470 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Android music playing app that keeps stats until battery dies?

Want to do:
Test how long it plays from topped-up battery and until device switches off.
And then, when powering it back on, actually read off that time from somewhere.

(I wouldn't be surprised if fb2k mobile can, so ... again here goes my ignorance.)

Re: Android music playing app that keeps stats until battery dies?

Reply #1
Maybe not ideal, but you could download a terminal app like JuiceSSH, open a local terminal, and run a loop that will place the time in a file every x seconds.

Code: [Select]
while true; do date >> music_uptime.txt; sleep 5; done

This will add the time/date to the file every 5 seconds.  You could then compare the first entry to the last entry.