qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug 1502613] Re: [Feature Request] Battery Status / Virtual Battery


From: Sergey Nizovtsev
Subject: [Bug 1502613] Re: [Feature Request] Battery Status / Virtual Battery
Date: Mon, 10 Feb 2020 23:22:21 -0000

I've started working on this issue and have some progress. Fedora 31
guest is already able to see a battery device but its state currently
hardcoded. I think i will finish this in a few weeks.

** Attachment added: "qemu-battery-poc.png"
   
https://bugs.launchpad.net/qemu/+bug/1502613/+attachment/5327136/+files/qemu-battery-poc.png

** Changed in: qemu
     Assignee: (unassigned) => Sergey Nizovtsev (snizovtsev)

** Changed in: qemu
       Status: New => In Progress

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1502613

Title:
  [Feature Request] Battery Status / Virtual Battery

Status in QEMU:
  In Progress

Bug description:
  When using virtualization on notebooks heavily then virtual machines
  do not realize that they're running on a notebook device causing high
  power consumption because they're not switching into a optimized
  "laptop mode". This leads to the circumstance that they are trying to
  do things like defragmentation / virtus scan / etc. while the host is
  still running on batteries.

  So it would be great if QEMU / KVM would have support for emulating
  "Virtual Batteries" to guests causing them to enable power-saving
  options like disabling specific services / devices / file operations
  automatically by OS.

  Optionally a great feature would be to set virtual battery's status
  manually. For example: Current charge rate / charging / discharging /
  ...

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1502613/+subscriptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]