← Back to team overview

dx-packages team mailing list archive

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

 

Alright, so I did some tests and here's what I needed to change ON THE
PHONE.

UsePercentageForPolicy=true
CriticalPowerAction=PowerOff


The default critical power action is:  HybridSleep

Those changes work fine on the phone, but upower has only 1
configuration file, there is no different configuration for the desktop
and the phone.

If we change the values like I noted above this is going to affect the
desktop.

I think we should create a separated config package for each device
config.

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

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