46

I have a desktop computer.

Get-wmiobject win32_computersystem | select manufacturer,model

Manufacturer        : Hewlett-Packard
Model               : HP ProDesk 600 G1 SFF

For a while it would give me a icon in the systray stating that my battery was not present. haha good one Windows. I don't have a battery like that.

Some time recently it started reporting a full battery charge

Systray showing battery charge

also

Windows Mobility Center

Why is my Windows 10 reporting a full battery charge when no battery is present?

OS Name:                   Microsoft Windows 10 Pro
OS Version:                10.0.10586 N/A Build 10586

My Windows is out of date but I could not find anything relevant to this issue suggesting it was a bug.

  • 2
    Use Device Manager (devmgmt.msc) to find any battery-like devices. – grawity Jan 9 '18 at 14:20
  • 6
    Run this: wmic path Win32_Battery get Caption,Description,DeviceID,Name – jdwolf Jan 9 '18 at 14:51
  • 9
    @jdwolf Wasnt aware of that class. Yep, one shows up there. ...... and its for the UPS under my desk that I don't think about. – Matt Jan 9 '18 at 15:51
  • 6
    @Matt WMIC is one of the main reasons I still have hope in Windows :> – jdwolf Jan 9 '18 at 16:10
  • 3
    one note, update your Windows. you use version 1511 which his out of support, only Education and Enterprise editions of 1511 get updates. so update to 1703 or 1709 – magicandre1981 Jan 9 '18 at 16:31
52

You can run the following command at the cmd to list devices Windows thinks are batteries:

wmic path Win32_Battery get Caption,Description,DeviceID,Name

You can also go to the Device Manager under Batteries. However, the command will provide you with a description and model number to work with a bit faster.

The battery icon appearing on a desktop is usually caused by a USB-connected UPS battery.

  • 2
    Also note, Windows is smart enough to automatically apply sleep, shutdown, or hibernate rules as-if-it-were a laptop with an internal battery, much like bundled UPS software acclaim(ed) to do. If you go into power options you can configure these options. Depending on what your computer is doing at the time, other connected devices, and the remaining capacity on the UPS, you might have a few minutes, or just barely enough time to save your work. Neat! – Julia McGuigan Jan 9 '18 at 22:13
  • 8
    @J.T.McGuigan: Definitely a good idea to change the emergency shutdown level from 5% to 50%, depending on how big your UPS is. On mine 5% is literally 10s of remaining life. And you don't want to deep discharge the UPS anyway. – Zan Lynx Jan 9 '18 at 22:56
  • 1
    How awful of a UPS (or watt-guzzling of a computer) do you need for 5% to only last 10s?! 5% of mine is something like 20-60 minutes. – R.. Jan 10 '18 at 4:36
  • 9
    @R.. Many a UPS is intended to safely shut-down in case of power outage, not to keep working through the day regardless of outage. In that case a maximum capacity of 20 minutes is more than enough. Degradation over time could shorten that considerably (just like with laptop batteries) and the 10s may be somewhat of a hyperbole. – user366447 Jan 10 '18 at 6:36
  • 5
    @R..: If your UPS can power your desktop computer for 20 hours, are you even using it? – Lightness Races in Orbit Jan 10 '18 at 11:44
4

This could be because you have a UPS connected.

It does not seem to happen all the time, though. From personal experience, on one desktop, when I installed Windows 10, it seems to have detected it as a laptop. Oddly enough, my other desktop also has a UPS but no battery icon and Windows Mobility Center is not installed.

If you do not want the icon there, I suppose you could try to remove or disable Mobility Center. I just learned to ignore the icon. You could also hide it from the notification area.

  • 2
    Hi! Welcome to Super User. Unfortunately, your answer was mistaken as an attempt to ask a related question (we get that occasionally) and temporarily hidden. I've edited it to be a bit less chatty and make the actual answer clearer. We're a bit different from forums you may be familiar with, and it's best if answers obviously address what the question is asking first. – Bob Jan 10 '18 at 9:55
0

Do you happen to have a wireless mouse, keyboard, game controller or similar?

It is possible that the drivers for those devices tell Windows "this device has a battery, level XX%". Windows would then duly report that, while missing the fact that it is not powering the whole system, like a UPS or a laptop battery would be.

  • 1
    It's my UPS that I don't think about. jdwolf's comment got me to find it. superuser.com/questions/1283879/… – Matt Jan 9 '18 at 15:52
  • Do you have examples of such devices? Frankly, I don't think this is possible. – Dmitry Grigoryev Jan 10 '18 at 13:09
  • On my Linux desktop, the KDE power management displays the power status of Logitech wireless mice just like it displays the battery status of my work laptop. I think I once saw similar behavior in Windows with some obscure wireless mouse+keyboard combo, but I admit my memory might be inaccurate. But basically, if any driver registers to the OS saying "I'm a battery", then the OS will display it as one. The OS cannot second-guess the information reported by the driver of some hardware device. – telcoM Jan 10 '18 at 13:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.