-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
battery widget complains nil value of 'rate' when on battery #45
Comments
It seems you have an old commit. Update and try again. |
Yeah, I've got that, you set it to 1 too, 😁 王青春 -----原始邮件----- It seems you have an old commit. Update and try again. |
Do you have If not, tell me if you have an equivalent file. |
I have power_now in it. 王青春 -----原始邮件----- Do you have /sys/class/power_supply/YOURBAT/current_now or power_now? |
Then it's already fixed. You'll never reach that 1, which is a last patch to avoid showing errors like this. |
Hi, thanks for your gorgeous work, but there is a problem with me, when on battery it will continually complain that 'rate' is a 'nil value' which is on line 72 in lain/widgets/bat.lua, I tried modify the block like this
it doesn't complai any more, but I have no idea what value it shoud be, because obviously it is not 1.
Thank you.
The text was updated successfully, but these errors were encountered: