← Back to team overview

dx-packages team mailing list archive

[Bug 1317860] Re: the phone should switch itself off before completely draining battery

 

If we want to avoid changes the upower package itself, we could add an override using the environment variable
UPOWER_CONF_FILE_NAME
the providing a modified file in the ubuntu-touch-session package such as UPower.override

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to indicator-power in Ubuntu.
https://bugs.launchpad.net/bugs/1317860

Title:
  the phone should switch itself off before completely draining battery

Status in Canonical System Image:
  In Progress
Status in Ubuntu UX:
  Fix Committed
Status in indicator-power package in Ubuntu:
  Invalid
Status in upower package in Ubuntu:
  Confirmed

Bug description:
  the phone should switch itself off at around ~5% remaining battery.

  This is to preserve a little battery for use cases such as:

  * turn it back on once or twice for urgent short phone calls
  * prevent the battery from going into a state where it can't be charged any more
  * have enough power to turn itself on again and trigger an alarm

  <https://wiki.ubuntu.com/Power#auto-off>: "The device should hibernate
  (PC) or power off (phone/tablet) if both of these things are true: *
  there is less than 2% battery remaining * there has been more than 3%
  battery remaining at some point since the last time the device
  hibernated or powered off."

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1317860/+subscriptions