VMware Communities
kelly64
Contributor
Contributor
Jump to solution

VMWare Fusion 11.1.1 running Windows 10 version 1809 + Docker Desktop (Nested VM) = drained battery when plugged in

Firstly, Docker Desktop for Windows doesn't seem to be working on Windows 10- I'll create a separate thread on that later but, because it is a nested hypervisor issue I don't expect much help.

But just the act of running Docker Desktop under Windows 10 results in a strange power management behaviour in the host OS (macOS 10.14.6), at least on my machine.  Despite being plugged in, and even showing the 'charging' icon, the battery starts to drain.  The macOS host power icon shows 'Not Charging' even as the battery charge drops from full to below 5%.

  • halting Docker Desktop or suspending the VMWare Windows 10 instance restores normal battery charging behaviour

Has anyone else seen behaviour like this?  Does it make any sense i.e.: is there some sort of 'stop the battery from charging while VMWare Fusion is busy' feature?  Or is it just a freaky thing that is only happening to me?

1 Solution

Accepted Solutions
ColoradoMarmot
Champion
Champion
Jump to solution

I've had this happen recently when doing long video encodes.  In my case I discovered that running the power through the HDMI multiport adapter reduced the current below the recharge threshold.

Other things that can cause it are using third-party power supplies, or a 60w supply on an 85w machine.

---------------------------------------------------------------------------------------------------------

Was it helpful? Let us know by completing this short survey here.

View solution in original post

4 Replies
dempson
Hot Shot
Hot Shot
Jump to solution

It is possible for a Mac notebook to need more power than the power adapter can supply. The battery is used to make up the difference. Typically this would only happen for short bursts so isn't particularly noticeable, but if there is a persistent heavy load, this could lead to the battery draining even though the power adapter is connected.

This leads to the theory that running Docker inside the Windows 10 VM is causing a huge power drain, probably because the CPU is working hard with many cores active (the GPU might be involved as well). Activity Monitor should be sufficient to confirm the pattern. System Information shows battery current in or out (output is negative) and voltage.

If you want more detail, there are tools which can report power consumption of various parts of the computer, e.g. iStat Menus, which can show even more detail about the CPU if you also have Intel Power Gadget installed.

ColoradoMarmot
Champion
Champion
Jump to solution

I've had this happen recently when doing long video encodes.  In my case I discovered that running the power through the HDMI multiport adapter reduced the current below the recharge threshold.

Other things that can cause it are using third-party power supplies, or a 60w supply on an 85w machine.

---------------------------------------------------------------------------------------------------------

Was it helpful? Let us know by completing this short survey here.

Mikero
Community Manager
Community Manager
Jump to solution

Yah I get this when I plug into my USB-C/Thunderbolt Display, without Fusion.

It is 'sort of enough' if I'm not doing much to not drain the battery, but if I start doing heavy stuff (like compiling a bunch of code over and over again because I keep screwing stuff up innovating), the battery drains even tho it says it's 'charging'. I have to plug in a regular 85w adapter otherwise it will trickle down to 0.

-
Michael Roy - Product Marketing Engineer: VCF
kelly64
Contributor
Contributor
Jump to solution

Ah, brilliant!  I've never seen this behaviour before, but what you say re: passing power through an external hub/adapter not delivering full power makes perfect sense.  And it so happens that I am using an external HDMI/USB hub with power pass-through.

It is still interesting / unexpected that VMWare Fusion running Windows 10 with a nested hypervisor (Docker) results in so much power draw when everything is effectively 'idle' i.e.: the nested Docker Desktop failed to launch correctly, and the Windows 10 VM in which it resides isn't running any applications. 

0 Kudos