1. 23 Sep, 2020 3 commits
  2. 15 Sep, 2020 2 commits
  3. 14 Sep, 2020 2 commits
  4. 08 Jul, 2020 2 commits
  5. 06 Jul, 2020 3 commits
  6. 05 Jul, 2020 1 commit
  7. 03 Jul, 2020 3 commits
  8. 25 Jun, 2020 5 commits
    • spiiroin's avatar
      Bump mce version to 1.106.0 · 1ea5dbbb
      spiiroin authored
      1ea5dbbb
    • spiiroin's avatar
      Merge branch 'jb49693_pinephone_battery' into 'master' · fd552762
      spiiroin authored
      Enablers for periodic / forced battery info polling
      
      See merge request !139
      fd552762
    • 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>
      2261f932
    • 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>
      a01dacd6
    • 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>
      d387d08c
  9. 23 Jun, 2020 2 commits
  10. 12 Jun, 2020 2 commits
  11. 28 May, 2020 3 commits
  12. 04 May, 2020 2 commits
  13. 01 May, 2020 1 commit
  14. 04 Feb, 2020 6 commits
  15. 30 Jan, 2020 3 commits