package/matchbox-panel: use ACPI for the battery applet
authorYann E. MORIN <yann.morin.1998@free.fr>
Wed, 3 Jun 2015 20:41:47 +0000 (22:41 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 9 Jun 2015 21:10:08 +0000 (23:10 +0200)
commit302f28de8011fb462dd119ffbc89686862da0a2b
tree966845f97429116394e5bf638b5b814e50b4b3cb
parent890bfa58d5b26459b3d43d5998906f9ee0178d05
package/matchbox-panel: use ACPI for the battery applet

It is possible to use ACPI to monitor the battery with the battery
mini-applet. If ACPI is not explicitly enabled, then APM is used if
available; if ACPI is not explcitly enabled and APM is not available,
then the battery applet is not built.

However, APM is not really current nowadays, and possibly missing for a
bunch of architecture...

What is a pity is that there is no way to explicitly enable or disable
the applet; it only relies on auto-detection... :-(

So, forcibly use ACPI on platforms that have it, that is x86 (32- and
64-bit) and AArch64.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Reviewed-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/matchbox-panel/0003-mb-applet-battery.patch [new file with mode: 0644]
package/matchbox-panel/matchbox-panel.mk