Microsoft Surface battery info missing

billy
billy Member Posts: 10
edited December 2023 in Remote Monitoring

has anyone else got the battery info for MS surface to work on atera

Comments

  • tanderson
    tanderson Member Posts: 279 ✭✭✭✭

    @billy I hadn't noticed, but yeah, our users that have a Surface tablet or laptop it does not show.

  • nina
    nina Internal Posts: 428 ✭✭✭✭✭
    edited November 2023

    Hi @tanderson, @billy and @Matthias -

    This should be working for laptops (not tablets).

    I have opened up Support tickets for you all so that our Support Team can get it up and running for ya!

  • mbudke
    mbudke Member Posts: 137 ✭✭✭

    @billy ha! I have not noticed till yet and tbh never used the battery information but I can confirm that it does not work for any of the surface devices I have configured.

  • No it doesn't show for any of my surface devices either.

  • dragos.t
    dragos.t Internal, Support Moderator Posts: 51 admin

    Hello, dear community,

    Hope everyone is doing well.

    Regarding the battery issues, I wanted to provide some information that can help with this issue.

    For battery info, we query setupapi.dll and kernel32.dll, if there are issues with these two libraries, then the agent will not display any info related to batteries. In such cases, a reinstallation of these two libraries would help with the issue.

    Another thing that can cause issues with battery info is the Microsoft ACPI-Compliant Control Method Battery from Device Manager. In such a case, the same procedure applies, where you can uninstall ACPI, and wait for 24 hours. ACPI Battery is installed automatically, so we only have to wait for the device to reinstall automatically.

    The following script can be used to uninstall ACPI battery from your devices.

    # Uninstall Microsoft ACPI-Compliant Control Method Battery from Device Manager
    
    # Get the Device Manager battery device
    $batteryDevice = Get-PnpDevice -FriendlyName "Microsoft ACPI-Compliant Control Method Battery"
    
    # Check if the device was found
    if ($batteryDevice) {
        # Uninstall the device
        $batteryDevice | ForEach-Object {
            $deviceId = $_.InstanceId
            Write-Host "Uninstalling device with ID: $deviceId"
            pnputil.exe /remove-device $deviceId
        }
    
        Write-Host "Device uninstalled successfully."
    } else {
        Write-Host "Microsoft ACPI-Compliant Control Method Battery not found in Device Manager."
    }
    

    We highly recommend that you first test this script on a test device, as it may cause issues. After testing please let us know if the issue has been resolved.

    Please keep in mind that there are other factors in play, such as version, AV, OS, and much more.

    Thank you for your time.

  • nina
    nina Internal Posts: 428 ✭✭✭✭✭
  • Why are you not just using powercfg /batteryreport to obtain this data ? surely that should always work ?

  • billy
    billy Member Posts: 10

    @nathan yes I do, but just wondered about atera and the battery info.

  • my comment was aimed at the Atera team

  • mbudke
    mbudke Member Posts: 137 ✭✭✭

    Feedback from Atera Support Team:

    Hello Matthias, 

    Many thanks for your patience in this matter. 

    After careful consideration, we regret to inform you that we do not support fetching battery information for 2&1 devices, currently, the feature is only available for laptops.

    However, this seems like a great idea and I highly recommend you post it on our Features Board: It will guide us in planning upcoming releases.

    I'd also recommend subscribing to the article so you'll be updated with any further comments.

    https://support.atera.com/hc/en-us/articles/360026647953-Use-The-Atera-Features-Board

  • Ah, yet again the classic "It's a feature request" - sorry this is a classic example of why in the other post I rated the quality of Atera as poor.

    Marketing and Dev > "Let's release a feature to indicate battery health and announce it"

    Support> "What's that ? It doesn't work on your XYZ device - oh that will be a new feature request then".

    as I stated above, to my knowledge Microsoft have provided an official mechanism for obtaining battery health information that should work with every device - Why is Atera not just fixing it to use that code instead ?  powercfg /batteryreport 

    it's not as if Microsoft Surface Devices are not one of the Big 4 manufacturers in the world. (Dell / HP / Lenovo/ MS)

  • mbudke
    mbudke Member Posts: 137 ✭✭✭

    I did check my old emails since I was sure this did exist in the past and indeed I found an old ticket (#342367) in which I had a chat with Atera about Surface + battery.
    At that point in time the battery level was always displayed as 102% which was the reason why I raised the ticket to make Atera aware of this strange behavior.

    That was the feedback in October 2022:

    I believed the Dev Team made an assumption on how to correct the displayed capacity of a battery in case it is new.

    I am personally not using this information so I did not follow up but it did exist in the past and seems that development was already working on it.