← Back to team overview

documentation-packages team mailing list archive

[Bug 1599264] Re: [SRU] "When power is critically low" setting does nothing

 

Hi Gunnar, I take your point that I'm going beyond fixing this bug - but
that (ideally) is what a good tech writer does.

I think here's the answer to my question (link below). The default
setting is "suspend" - yes I've checked 16.04 and that is correct.
However, there's a bug so that when the setting is "suspend" Ubuntu
shuts down when power is critically low. So can I fix this bug and also
state that ubuntu by default shuts down when power is critically low? I
believe that unless the user fiddles with the gnome settings, which
aren't documented in the desktop help, there's no possibility of
suspend, so can I remove the info about suspend on this page. In that
case it will be a very short page!

http://askubuntu.com/questions/667668/notebook-does-not-power-off-when-
battery-is-critically-low

-- 
You received this bug notification because you are a member of
Documentation Packages, which is subscribed to ubuntu-docs in Ubuntu.
https://bugs.launchpad.net/bugs/1599264

Title:
  [SRU] "When power is critically low" setting does nothing

Status in One Hundred Papercuts:
  Triaged
Status in ubuntu-docs package in Ubuntu:
  Triaged
Status in unity-control-center package in Ubuntu:
  Fix Released
Status in ubuntu-docs source package in Xenial:
  Won't Fix
Status in unity-control-center source package in Xenial:
  Triaged
Status in ubuntu-docs source package in Yakkety:
  Won't Fix
Status in unity-control-center source package in Yakkety:
  Fix Released
Status in ubuntu-docs source package in z-series:
  Triaged

Bug description:
  [Impact]

  In unity-control-center (u-c-c) there is an option for taking an
  action when "Power is critically low".  The choices are "Hibernate" or
  "Power off".  Often Hibernate is a disabled option because of problems
  with hibernate on various systems.

  However - what to do in the event of a critically low power situation
  is now handled by Upowerd automatically and so making a choice in
  u-c-c does nothing at all.

  As such, leaving that option accessible to users will lead to
  confusion.

  This patch removes the option from the UI.

  [Test Case]

  On an unpatched machine with a battery (i.e. laptop) open the power
  panel in u-c-c (Power/Settings menu in the top right corner -> System
  Settings -> Power.  Note that the 2nd option down is "When power is
  critically low".

  Once this update is applied and u-c-c is closed and reopened, this
  option is no longer present.

  [Regression Potential]
  There are some deletions from the ui file and some corresponding code deletions from the associated c file (cc-power-panel.c).

  It is possible that extra code has been removed that could cause a
  crash or affect other options in the power panel.

  However, the changes are fairly small and easy to review.  Nothing
  looks out of place.  Also testing has not shown any problems.

  [Other Info]

  Verbal (IRC) +1 from design via mpt.
  +1 from docs team via mailing list.

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