<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>1985</bug_id>
          
          <creation_ts>2012-02-14 07:53:23 +0000</creation_ts>
          <short_desc>matchbox-panel doesn&apos;t build battery status applet</short_desc>
          <delta_ts>2016-07-15 13:06:44 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>2.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Jussi Kukkonen">jku</assigned_to>
          <cc>alexandru.damian</cc>
    
    <cc>dvhart</cc>
    
    <cc>kevin.tian</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</cc>
    
    <cc>shane.wang</cc>
    
    <cc>song.liu</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>18617</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-02-14 07:53:23 +0000</bug_when>
    <thetext>Currently the matchbox-panel battery status applet doesn&apos;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&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64034</commentid>
    <comment_count>1</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2016-07-15 13:06:44 +0000</bug_when>
    <thetext>To my surprise this seems to actually work. The &quot;--with-battery=acpi&quot; works and seems to be the choice in usual cases: the applet is definitely built.

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

Marking WORKSFORME.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>