Linux Mastering Development Ubuntu

Is there a way to have a timer running in the background that pauses when I shut my laptop? (trying to measure battery life)

Essentially what I’d like to do is use my laptop normally and just have a sort of timer in the background. I will charge my battery to full, and then nearly drain it.

I would like for there to be some sort of stopwatch in the background that’s running until I decide to stop it when it’s nearly dead. I would like for it to pause whenever I shut the lid on my laptop, and start again when I open it. Is this achievable?

Leave a Reply

Your email address will not be published. Required fields are marked *