battery indicator

poma pomidorabelisima at gmail.com
Mon Sep 29 07:37:30 UTC 2014


On 29.09.2014 02:25, Ranjan Maitra wrote:
>>
>> See what can you get within
>> /sys/class/power_supply/...
> 
> 
> 
> Thanks! There are the files in:
> 
> /sys/class/power_supply/BAT1
> 
> alarm           energy_full_design  present        uevent
> capacity        energy_now          serial_number  voltage_min_design
> capacity_level  manufacturer        status         voltage_now
> cycle_count     model_name          subsystem@
> device@         power/              technology
> energy_full     power_now           type
> 
> Which of these files can be monitored?

Whatever you can 'cat' it can be 'watch', 
man 1 cat/watch

> 
> Btw, I don't use batti but use actually use conky. How is the
> information put in? Previously with other machines this is what would
> work

Perhaps it should be set to BAT1 given that default is BAT0, 
http://conky.sourceforge.net/variables.html

> 
> ${offset 0} ${color slate grey} BAT: ${color } $battery 
> 
> 
> Thanks,
> Ranjan
> 
> 
>> https://code.google.com/p/batti-gtk/
>>   Batti is a simple battery monitor for the system tray, similar to batterymon. 
>>   Unlike the latter batti uses *UPower*, and if that is missing DeviceKit.Power, for it's power information. 
>>
>> http://upower.freedesktop.org/
>> http://docs.fedoraproject.org/en-US/Fedora/20/html/Power_Management_Guide/upower.html
>>
>> $ man 1 upower
>> ...
>> BUGS
>>        Please send bug reports to either the distribution or the DeviceKit mailing list, see
>>        http://lists.freedesktop.org/mailman/listinfo/devkit-devel on how to subscribe.
>>
>>
>> poma
>>
>> -- 
>> users mailing list
>> users at lists.fedoraproject.org
>> To unsubscribe or change subscription options:
>> https://admin.fedoraproject.org/mailman/listinfo/users
>> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
>> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>> Have a question? Ask away: http://ask.fedoraproject.org
> 
> 



More information about the users mailing list