Battery Status in Bionic
#1
Hey all,

I've got my Pinebook flashed with the latest Bionic Mate pre-release, but it seems that it can't sense the battery state correctly. Is there a command line tool I can use in the mean time to get an idea for how much longer I have left on battery?

Thanks!
#2
(03-06-2019, 06:33 PM)X-Istence Wrote: Hey all,

I've got my Pinebook flashed with the latest Bionic Mate pre-release, but it seems that it can't sense the battery state correctly. Is there a command line tool I can use in the mean time to get an idea for how much longer I have left on battery?

Thanks!
Code:
sudo pine64_health.sh

That'll print battery information, including remaining charge percentage.

Not sure what's up with the battery myself. I've setup a cmdlet to show it instead, when I'm home I'll post how I did it.
[ PHP Developer | Pinebook 1G | About me ]
#3
Thank you, using that script works! It's just a shame it isn't shown in the top bar of mate like it used to be.
#4
(03-09-2019, 02:19 PM)X-Istence Wrote: Thank you, using that script works! It's just a shame it isn't shown in the top bar of mate like it used to be.

It seems in Bionic the battery is detected as an external keyboard battery rather than onboard, which the MATE indicator can't handle.

here's a dirty workaround. You can whack this in a 'Command' MATE applet. it'll show the battery percentage. Not on the indicator though.


Code:
cat /sys/class/power_supply/battery/capacity


I recommend 2 min interval.
[ PHP Developer | Pinebook 1G | About me ]


Possibly Related Threads…
Thread Author Replies Views Last Post
  E: The repository 'http://pinebook.kde.org.uk bionic Release' no longer has a Release pixelpaperyarn 3 5,920 05-07-2021, 10:20 AM
Last Post: tophneal
  Display battery charge value with LXDE and lxpanel wlad 1 5,239 12-04-2019, 03:36 AM
Last Post: pnts-se
  Improve the life of your Pinebook battery by setting charger's voltage limits wlad 0 3,017 06-11-2019, 02:27 PM
Last Post: wlad
  How can I reliably get battery status on pinebook tillea 5 9,474 06-11-2019, 10:10 AM
Last Post: wlad
  Status of Parrot Linux on Pinebooks? secristr 0 2,387 03-10-2019, 02:39 PM
Last Post: secristr
  .bashrc to show battery percentage at prompt e-minguez 1 3,383 03-05-2019, 07:03 PM
Last Post: PatrickM
  Tips and Tricks for Ayufan's Bionic LXDE Image NoraCodes 8 12,013 01-22-2019, 06:22 PM
Last Post: binholz
  Armbian 18.04 (Bionic) for Pinebook Luke 0 3,474 08-17-2018, 02:28 PM
Last Post: Luke
  Battery drained while turned off amentis 6 8,645 07-17-2018, 02:38 AM
Last Post: pfeerick
  Splash But No Login After Low Battery robbiemacg 3 5,161 05-17-2018, 09:30 AM
Last Post: robbiemacg

Forum Jump:


Users browsing this thread: 1 Guest(s)