Ñò B3 Kc@sdefd„ƒYZdS(t dstat_plugincBs2eZdZd„Zd„Zd„Zd„ZRS(sD Percentage of remaining battery power as reported by ACPI. cCs1t|_d|_d|_d|_d|_dS(Ntbatterytpii"(tfiletnamettypetwidthtscale(tself((s!/usr/share/dstat/dstat_battery.pyt__init__s     cCs¬g}x•tidƒD]„}x{td|dƒiƒD]_}|iƒ}t|ƒdjoq7n|ddjo"|ddjo|i|ƒq7q7WqW|iƒ|S(Ns/proc/acpi/battery/s/stateiispresent:ityes(tostlistdirtdopent readlinestsplittlentappendtsort(RtretRtlinetl((s!/usr/share/dstat/dstat_battery.pytvarss " cCs(g}|iD]}||iƒq~S(N(Rtlower(Rt_[1]R((s!/usr/share/dstat/dstat_battery.pytnickscCs'x |iD]}xntd|dƒiƒD]R}|iƒ}t|ƒdjoq+n|ddjot|dƒ}Pq+q+Wxntd|dƒiƒD]R}|iƒ}t|ƒdjoqœn|ddjot|d ƒ}PqœqœW|o|d ||i|s