Bug 1985

Summary: matchbox-panel doesn't build battery status applet
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Paul Eggleton <bluelightning>
Component: coreAssignee: Jussi Kukkonen <jku>
Status: RESOLVED WORKSFORME QA Contact:
Severity: enhancement    
Priority: Medium CC: alexandru.damian, dvhart, kevin.tian, meta.mr.watcher, meta.watcher, sgw, shane.wang, song.liu
Version: unspecified   
Target Milestone: 2.2   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Paul Eggleton 2012-02-14 07:53:23 UTC
Currently the matchbox-panel battery status applet doesn't get built (presumably because of the lack of libapm), it would be nice if we could fix this. libapm is probably obsolete by now, but I'm not sure if the best way to retrieve battery status is to read /sys/class/power_supply/* directly or to use something like upower.
Comment 1 Jussi Kukkonen 2016-07-15 13:06:44 UTC
To my surprise this seems to actually work. The "--with-battery=acpi" works and seems to be the choice in usual cases: the applet is definitely built.

I don't actually have a yocto test device with a battery, but I've run the mb-panel-2 on my laptop and tested that the applet works; I've also made sure "--with-battery=acpi" is used when building a sato image.

Marking WORKSFORME.