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!
  Reply
#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 ]
  Reply
#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.
  Reply
#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 ]
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Improve the life of your Pinebook battery by setting charger's voltage limits wlad 0 83 06-11-2019, 02:27 PM
Last Post: wlad
  How can I reliably get battery status on pinebook tillea 5 1,161 06-11-2019, 10:10 AM
Last Post: wlad
  Display battery charge value with LXDE and lxpanel wlad 0 47 06-11-2019, 09:56 AM
Last Post: wlad
  Status of Parrot Linux on Pinebooks? secristr 0 97 03-10-2019, 02:39 PM
Last Post: secristr
  .bashrc to show battery percentage at prompt e-minguez 1 118 03-05-2019, 07:03 PM
Last Post: PatrickM
  Tips and Tricks for Ayufan's Bionic LXDE Image LeoLambda 8 663 01-22-2019, 06:22 PM
Last Post: binholz
  Armbian 18.04 (Bionic) for Pinebook Luke 0 973 08-17-2018, 02:28 PM
Last Post: Luke
  Battery drained while turned off amentis 6 554 07-17-2018, 02:38 AM
Last Post: pfeerick
  Splash But No Login After Low Battery robbiemacg 3 284 05-17-2018, 09:30 AM
Last Post: robbiemacg
Information i3wm xenial-i3 introduction -- mate terminal & battery monitor MarkHaysHarris777 4 1,367 08-31-2017, 04:47 AM
Last Post: shirman

Forum Jump:


Users browsing this thread: 1 Guest(s)