Commit Graph
7 Commits
Author SHA1 Message Date
Clayton CraftandOliver Smith f9769f26fd temp/upower: fork from Alpine, downgrade to 0.99.20 (MR 3408)
A lame workaround for this[1] until something better comes along. Not
having a functional battery gauge on a mobile device is kind of painful.

1. pmaports issue 1677

Co-Authored-By: Oliver Smith <ollieparanoid@postmarketos.org>
Tested-by: Drew DeVault <sir@cmpwn.com>

[ci:skip-build] already built successfully in CI
2022-09-06 16:36:53 -07:00
Pablo Correa Gómez f19dec52d8 temp/upower: drop (MR 2608)
* The first patch has been droped from PureOS, which currently
  ships stock debian 0.99.11. Therefore the fix must have been
  applied somewhere else, same as it happened with the torch patches.
* The second patch is already merged upstream and present in latest
 0.99.13 release in alpine.
2021-10-24 15:16:34 +02:00
Dylan Van Assche 23ee2f2dd3 temp/upower: drop torch patches (MR 2429)
With Phosh 0.13.0, Logind is used without patches for the torch
as UPower doesn't want to handle this. Therefore, we can drop
the torch patches to UPower.

[ci:skip-build] already built successfully in CI
2021-08-17 22:39:17 -07:00
Pablo Correa Gómez 5d47add5f1 temp/upower: sync icon and warn for low battery level (MR 2255)
Commits cfb5d41b and ead17254 updated the default battery levels for
warnings and actions in the pinephone and the pinetab. Since then,
the chances of the phone dying for lack of battery power have completely
dissapeared. However, the battery icon in phosh was never updated to show
a "caution" battery level. The value was hardcoded and ignored the setting
in the config file. This commit fixes that issue
2021-06-26 22:33:53 +03:00
Clayton Craft 184bc634e6 temp/upower: fix led detection on the librem5 (MR 1986)
The previous implementation of this caused upower to select a thing
called 'flash_strobe' in the L5, which doesn't operate like a
flashlight. This changes the detection logic to look at the suffix, on
the pinephone the device ends in ':flash', and on the L5 it ends in
':torch'.

fixed #967
2021-03-02 11:34:45 +03:00
Clayton Craft 81e374c3c6 temp/upower: add patch for supporting usb chargers (MR 1986)
This patch is in purism's fork and it removes messages like this when
starting upower on the librem5 by properly detecting/setting the type:

    TI:15:11:12     did not recognise USB path /sys/devices/platform/soc@0/30800000.bus/30a20000.i2c/i2c-0/0-003f/power_supply/tps6598x-source-psy-0-003f, please report
    ...
    TI:15:11:12     did not recognise USB path /sys/devices/platform/soc@0/30800000.bus/30a50000.i2c/i2c-3/3-006a/power_supply/bq25890-charger, please report
2021-03-02 11:34:42 +03:00
Oliver Smith 80fec94eb8 temp/upower: fork from alpine to apply torch patch (MR 1623)
Required to make the torch button work in Phosh.

[ci:skip-build]: already built successfully in CI
2020-10-23 08:20:11 +02:00