qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <1502613@bugs.launchpad.net>
To: qemu-devel@nongnu.org
Subject: [Bug 1502613] Re: [Feature Request] Battery Status / Virtual Battery
Date: Mon, 18 May 2020 08:06:46 -0000	[thread overview]
Message-ID: <158978920674.17853.8337243912424290112.malone@soybean.canonical.com> (raw)
In-Reply-To: 20151004131253.1871.94138.malonedeb@wampee.canonical.com

The implementation could be similar to the temperature sensor interface proposed here:
https://www.mail-archive.com/qemu-block@nongnu.org/msg65192.html

-- 
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


  parent reply	other threads:[~2020-05-18  8:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-04 13:12 [Qemu-devel] [Bug 1502613] [NEW] [Feature Request] Battery Status / Virtual Battery Wolfgang Andreas
2016-06-07 20:53 ` [Qemu-devel] [Bug 1502613] " Naftaly Avadiaev
2020-02-10 23:22 ` Sergey Nizovtsev
2020-05-17 20:10 ` mizz
2020-05-18  8:06 ` Philippe Mathieu-Daudé [this message]
2020-05-18  9:45 ` Sergey Nizovtsev
2020-08-05  6:17 ` Nahuel Pastorale
2021-05-09 15:52 ` Philippe Mathieu-Daudé
2021-05-09 16:06 ` Philippe Mathieu-Daudé

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=158978920674.17853.8337243912424290112.malone@soybean.canonical.com \
    --to=1502613@bugs.launchpad.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).