edkolev / promptline.vim

Generate a fast shell prompt with powerline symbols and airline colors
MIT License
623 stars 54 forks source link

battery slice is not working on ubuntu 15.04 (kernel 3.19.0) #45

Open pmuller opened 8 years ago

pmuller commented 8 years ago

Hello,

On my laptop, I do not have /sys/class/power_supply/BAT0/energy_now and energy_full. But I have charge_now and charge_full. It works well if I replace "energy_full" with "charge_full" and "energy_now" with "charge_now" in the generated script. I use the stock kernel of Ubuntu 15.04, which is 3.19.0.

Was there a change in how the kernel expose the information ? Or are these different information ?

Thanks