.bashrc to show battery percentage at prompt
#2
Excellent!! My Pinebook 14 (with the old Mate image) had the battery directory in a slightly different place:

BATTERY=/sys/class/power_supply/battery
  Reply


Messages In This Thread
RE: .bashrc to show battery percentage at prompt - by PatrickM - 03-05-2019, 07:03 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Display battery charge value with LXDE and lxpanel wlad 1 545 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 546 06-11-2019, 02:27 PM
Last Post: wlad
  How can I reliably get battery status on pinebook tillea 5 2,154 06-11-2019, 10:10 AM
Last Post: wlad
  Battery Status in Bionic X-Istence 3 497 03-11-2019, 03:52 PM
Last Post: soupbowl
  Battery drained while turned off amentis 6 903 07-17-2018, 02:38 AM
Last Post: pfeerick
  Splash But No Login After Low Battery robbiemacg 3 476 05-17-2018, 09:30 AM
Last Post: robbiemacg
Information i3wm xenial-i3 introduction -- mate terminal & battery monitor MarkHaysHarris777 4 1,965 08-31-2017, 04:47 AM
Last Post: shirman

Forum Jump:


Users browsing this thread: 1 Guest(s)