1. 19 May, 2021 2 commits
  2. 18 May, 2021 1 commit
    • Simo Piiroinen's avatar
      [display] Normalize placeholder topmost window pid values. Fixes JB#54297 · 13259837
      Simo Piiroinen authored
      It used to be that lipstick reported topmost window pid with value -1
      when there was no application windows on screen. However due to some
      recent change nowadays (also) pid value zero seems to be used in such
      situations. As the pid value is used by mce for detecting situations
      where some application window is on screen despite lockscreen being
      active, there are subtle problems with for example blanking timers and
      fingerprint wakeup handling.
      Normalize pid values within mce so that -1 is used whenever lipstick
      reports value that is less than or equal to zero.
      Signed-off-by: default avatarSimo Piiroinen <simo.piiroinen@jolla.com>
  3. 21 Jan, 2021 3 commits
  4. 23 Sep, 2020 3 commits
  5. 15 Sep, 2020 2 commits
  6. 14 Sep, 2020 2 commits
  7. 08 Jul, 2020 2 commits
  8. 06 Jul, 2020 3 commits
  9. 05 Jul, 2020 1 commit
  10. 03 Jul, 2020 3 commits
  11. 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>
  12. 23 Jun, 2020 2 commits
  13. 12 Jun, 2020 2 commits
  14. 28 May, 2020 3 commits
  15. 04 May, 2020 2 commits
  16. 01 May, 2020 1 commit
  17. 04 Feb, 2020 3 commits