Conky - how to display Pinebook battery?
#4
I finally have a workaround that displays the battery percentage and status in Conkyon my Pinebook.
I use the shell commands in script files:
#!/bin/sh
cat /sys/class/power_supply/battery/capacity

and
#!/bin/sh
cat /sys/class/power_supply/battery/status

and I just use two ${exec ./ } commands on a line in .conkyrc
It may not be elegant, but it works.


Messages In This Thread
RE: Conky - how to display Pinebook battery? - by jschall - 11-25-2018, 03:56 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Dead Pinebook - fix it or spare parts? oloturia 2 2,209 03-19-2023, 03:38 PM
Last Post: oloturia
  Broken bottom case of PineBook 14 Mick 1 920 02-22-2023, 05:49 AM
Last Post: Mick
  Original 14" Pinebook an Orphan? vdicarlo 2 1,259 01-05-2023, 10:42 AM
Last Post: jezek
  Pinebook Users are a nobody leperotero 13 12,592 09-06-2022, 09:29 PM
Last Post: zapper
  Does anybody repair pinebook pro laptops for a fee? Tsvi Bar-David 0 956 09-05-2022, 07:49 PM
Last Post: Tsvi Bar-David
  Pinebook with a broken screen and 2 eMMC's for sale. UK ONLY. frank-zappa 0 1,596 03-08-2022, 10:14 AM
Last Post: frank-zappa
  Pinebook to Pinebook Pro-esque upgrade kit sebboh 5 7,499 08-18-2021, 11:01 PM
Last Post: Corkonian
  Battery life unrealb2 4 5,534 08-01-2021, 12:26 AM
Last Post: unrealb2
  new pinebook help ron_burgundy 5 7,683 12-17-2020, 04:54 PM
Last Post: ron_burgundy
  Few questions about flashing to a MicroSD card on the Pinebook Pro SanjevR 6 9,608 12-07-2020, 04:02 PM
Last Post: SanjevR

Forum Jump:


Users browsing this thread: 1 Guest(s)