1. 21 Jan, 2021 3 commits
  2. 23 Sep, 2020 3 commits
  3. 15 Sep, 2020 2 commits
  4. 14 Sep, 2020 2 commits
  5. 08 Jul, 2020 2 commits
  6. 06 Jul, 2020 3 commits
  7. 05 Jul, 2020 1 commit
  8. 03 Jul, 2020 3 commits
  9. 25 Jun, 2020 5 commits
    • spiiroin's avatar
      Bump mce version to 1.106.0 · 1ea5dbbb
      spiiroin authored
    • spiiroin's avatar
      Merge branch 'jb49693_pinephone_battery' into 'master' · fd552762
      spiiroin authored
      Enablers for periodic / forced battery info polling
      See merge request !139
    • spiiroin's avatar
      [battery-udev] Refresh all udev properties on heartbeat. Fixes JB#48324 · 2261f932
      spiiroin authored
      There might not be udev notification about every battery capacity
      percent value change. While this is usually harmless when battery
      is sufficiently full, it can cause issues like missed battery low
      notifications and/or delay battery empty shutdown so much that
      battery gets too depleted for regular bootup.
      Poll power supply device properties in process watchdog heartbeat
      pace i.e. about every 36 seconds of uptime not spent in suspend.
      Periodic udev polling is enabled by default, but can be disabled
      via mce configuration.
      Signed-off-by: spiiroin's avatarSimo Piiroinen <simo.piiroinen@jollamobile.com>
    • spiiroin's avatar
      [battery-udev] Enablers for forced udev property refreshing. JB#49693 · a01dacd6
      spiiroin authored
      For example pinephone sends udev notification about charger disconnect, but
      not about battery making related transition to discharging state - which
      leaves system believing battery is still getting charged.
      Add enablers for optionally refreshing properties of all power supply
      devices whenever at least one device is reporting changes.
      Forced refresh is disabled by default. Enabling should be done only
      on those devices where it is needed, via hw specific mce configuration.
      Signed-off-by: spiiroin's avatarSimo Piiroinen <simo.piiroinen@jollamobile.com>
    • spiiroin's avatar
      [battery-udev] Enablers for configurable charger types. JB#49693 · d387d08c
      spiiroin authored
      For example pinephone exposes charger devices in a manner where the
      name is prefixed with chiptype (e.g. "axp813-ac" / "axp20x-usb").
      As mce does not recognize these, both wall charger and pc connection
      gets treated as "other" type charger - which works to some extent but
      triggers incorrect UI actions.
      If direct match for power supply device type / name is not found, try
      to eliminate chipname prefix so that for example names such as
      "axp20x-usb" get treated as plain "usb".
      To future proof things, make it possible to override build-in
      defaults and heuristics via mce configuration files.
      Signed-off-by: spiiroin's avatarSimo Piiroinen <simo.piiroinen@jollamobile.com>
  10. 23 Jun, 2020 2 commits
  11. 12 Jun, 2020 2 commits
  12. 28 May, 2020 3 commits
  13. 04 May, 2020 2 commits
  14. 01 May, 2020 1 commit
  15. 04 Feb, 2020 6 commits