Giter Site home page Giter Site logo

Comments (6)

DudeNr33 avatar DudeNr33 commented on August 17, 2024 1

Thank you for the report. I haven't installed 13.4 yet, but will look into it as soon as possible.
Can you describe a bit more in detail what is wrong with the computed total time?

from screen-on-time.

DudeNr33 avatar DudeNr33 commented on August 17, 2024 1

@stefanmaric thank you for the fixes!
@shoaibhussain-uc can you tell me if this fixes the issue(s) you encountered?
If not, it would be very helpful if you could copy the full output and paste it here.

One thing I noticed which is still present: I had a negative percentage under "statistics" when I ran the script while the laptop was plugged in.

from screen-on-time.

shoaibhussain-uc avatar shoaibhussain-uc commented on August 17, 2024

It seems the output from the pmset -g log command has changed and the script isn't able to parse it correctly. The total screen time was an unrealistic value and the time of the last charge wasn't correctly reported.
I really liked the convenience of seeing the total screen time with this script when it worked. Thanks for the project!

from screen-on-time.

stefanmaric avatar stefanmaric commented on August 17, 2024

I opened a few PRs addressing some issues I encountered while using this script in my 15" Air.

At this point, I haven't found any more issues but would be worth it for others to try it.

from screen-on-time.

shoaibhussain-uc avatar shoaibhussain-uc commented on August 17, 2024

@stefanmaric thank you for the fixes! @shoaibhussain-uc can you tell me if this fixes the issue(s) you encountered? If not, it would be very helpful if you could copy the full output and paste it here.

One thing I noticed which is still present: I had a negative percentage under "statistics" when I ran the script while the laptop was plugged in.

Hi, I just ran the script and the numbers seem fine now. Previously the 'unplugged from AC' time wasn't aligned with the time in battery settings.

from screen-on-time.

DudeNr33 avatar DudeNr33 commented on August 17, 2024

Great! Probably #7 solved the issue. 👍
Feel free to reopen if the problem occurs again.

from screen-on-time.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.