[Feb 26] Recalbox beta v3.1- Rock64 |[Feb 26] Recalbox 190222- RockPro64 / Minimal Debian by mrfixit2001 - 190222 - RockPro64 |[Feb 26] Q4OS 2.7-r2 - Pinebook 1080P / Pinebook |[Feb 22] Batocera Linux 5.20-20190121- RockPro64 | [Feb 19] Manjaro KDE 19.02 / Manjaro LXQT 19.02 - Pinebook1080P / Pinebook | [Feb 19] Slackware Aarch64 Miniroot and XFCE 20190201 - RockPro | [Feb 19] Slackware Aarch64 Miniroot and XFCE 20190201 - Rock64

Project Inspiration | Get Started | IRC Logs | Forum Rules/Policy


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
  Status of Parrot Linux on Pinebooks? secristr 0 53 03-10-2019, 02:39 PM
Last Post: secristr
  .bashrc to show battery percentage at prompt e-minguez 1 73 03-05-2019, 07:03 PM
Last Post: PatrickM
  How can I reliably get battery status on pinebook tillea 4 904 03-05-2019, 06:43 AM
Last Post: chessie
  Tips and Tricks for Ayufan's Bionic LXDE Image LeoLambda 8 551 01-22-2019, 06:22 PM
Last Post: binholz
  Armbian 18.04 (Bionic) for Pinebook Luke 0 785 08-17-2018, 02:28 PM
Last Post: Luke
  Battery drained while turned off amentis 6 487 07-17-2018, 02:38 AM
Last Post: pfeerick
  Splash But No Login After Low Battery robbiemacg 3 253 05-17-2018, 09:30 AM
Last Post: robbiemacg
Information i3wm xenial-i3 introduction -- mate terminal & battery monitor MarkHaysHarris777 4 1,219 08-31-2017, 04:47 AM
Last Post: shirman
  Display soc temperature in cpu temperature status of byobu mtk 0 1,537 05-09-2017, 09:52 AM
Last Post: mtk

Forum Jump:


Users browsing this thread: 1 Guest(s)