Code Monkey home page Code Monkey logo

Comments (5)

si458 avatar si458 commented on July 3, 2024

yeh ive spotted this recently too and i cant work it out whats happened?
i moved the power-monitor.js from meshagent to meshcentral so it fixed the battery tracking for mac laptops b71b4d0
but it seems to of possibly broke the windows battery?

can you try one thing for me,
delete agents/modules_meshcore/power-monitor.js then restart ur meshcentral server?

does the battery levels etc return?

from meshcentral.

si458 avatar si458 commented on July 3, 2024

yes deleting node_modules/meshcentral/agents/modules_meshcore/power-monitor.js and restarting meshcentral
restored the battery levels for laptops, it just loses the battery levels for mac again
so i will do more investigating again

from meshcentral.

NilsLeumann avatar NilsLeumann commented on July 3, 2024

Thank you very much for your quick reply, since I do not manage any Macs in MeshCentral I deleted the power-monitor.js or rather renamed it and added a .old
Now it seems to work fine, at least on one of my HP Laptops that didn't show the battery percentage before. I assume all other devices will be fine now but I will see on monday
I also just want to thank you for making and maintaining such an amazing piece of open source software :))

from meshcentral.

si458 avatar si458 commented on July 3, 2024

@NilsLeumann glad it temporarily sorted the issue.
im gunna look into it fully tho as i am confused?
as you said it seemt to show on some but then not others and i dont know how i didnt spot it!
glad u like the software! dont forget to donate ❤️ https://www.si458.co.uk/2024/01/05/donation/

from meshcentral.

si458 avatar si458 commented on July 3, 2024

closing this as i have removed the file from the master image and npm install Ylianst/MeshCentral

from meshcentral.

Related Issues (20)

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.