D21273: Add support for newer linux kernel power_supply API. Keep backwardcompatibility with older procfs API.

2019-05-18 Thread Alexey Min
alexeymin added a comment.


  Hm, looks ideologically similar to how it was done in SDL2...
  https://hg.libsdl.org/SDL/file/792c26401463/src/power/linux/SDL_syspower.c

REPOSITORY
  R106 KSysguard

REVISION DETAIL
  https://phabricator.kde.org/D21273

To: luc4, davidedmundson
Cc: alexeymin, plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, himcesjf, 
lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart


D21273: Add support for newer linux kernel power_supply API. Keep backwardcompatibility with older procfs API.

2019-05-18 Thread Luca Carlon
luc4 created this revision.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
luc4 requested review of this revision.

REPOSITORY
  R106 KSysguard

BRANCH
  batt

REVISION DETAIL
  https://phabricator.kde.org/D21273

AFFECTED FILES
  ksysguardd/Linux/acpi.c

To: luc4
Cc: plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, himcesjf, 
lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart