0

Is it possible to run a command in adb shell, dumpsys perhaps that will show the power on off dates and times from a year ago ?

I have run dumpsys and it has created a huge file with loads, 100's of thousands of records in a file - what text should I search for ?

2
  • Your question may better fit to android.stackexchange.com as obtaining power on/off data is not very programming related. On the other hand what have you tried? You can simply search the dumpsys output for dates (in ISO format) and see where it can be found. Commented Feb 12, 2024 at 14:53
  • Thanks Robert. I will post on the other channel. I've searched for shutdown, power, reboot and the datetime strings "2023-02-26 19", "2023-02-26 20" and found some entries, but I don't know whether any relate to a power off of the phone, there's no description as such. Commented Feb 13, 2024 at 10:05

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.