Results 1 to 1 of 1
  1. #1
    ROG Member Array
    Join Date
    Nov 2018

    no difference between charging and not-charging in the CIM instances

    my laptop (gl504gm) has the ability to stop charging when it arrives at a given percentage (example 60%) thanks to the ASUS's app battery healt charging. Unfortunately this is not always working and i am writing a small powershell script to overcome it

    the problem is that i can't recognize when the laptop is charging and when it is connected to the AC source but not charging
    the output from the code below is absolutely the same
    Get-CimInstance -Class "Win32_Battery"

    Any of you have any idee of what i can try to recognize the two states?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts