Skip to content
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

Two Battery Laptop (Lenovo Thinkpad T70s) #99

Open
suzibrix opened this issue Nov 19, 2020 · 1 comment
Open

Two Battery Laptop (Lenovo Thinkpad T70s) #99

suzibrix opened this issue Nov 19, 2020 · 1 comment

Comments

@suzibrix
Copy link

My laptop is an over achiever and has two batteries. BAT0 and BAT1. Only BAT0 shows up in tmux. While helpful, it only shows me accurate status info when BAT0 acted on.
Is this something that would need extra lines in the script, or is this something I could
accommodate in settings?

@incebellipipo
Copy link

Use this:

#(echo $(for i in `cat /sys/class/power_supply/*/capacity` ; do echo $i% ; done))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants