.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


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 4,769 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 2,723 06-11-2019, 02:27 PM
Last Post: wlad
  How can I reliably get battery status on pinebook tillea 5 8,483 06-11-2019, 10:10 AM
Last Post: wlad
  Battery Status in Bionic X-Istence 3 4,888 03-11-2019, 03:52 PM
Last Post: soupbowl
  Battery drained while turned off amentis 6 7,418 07-17-2018, 02:38 AM
Last Post: pfeerick
  Splash But No Login After Low Battery robbiemacg 3 4,438 05-17-2018, 09:30 AM
Last Post: robbiemacg
Information i3wm xenial-i3 introduction -- mate terminal & battery monitor MarkHaysHarris777 4 6,852 08-31-2017, 04:47 AM
Last Post: shirman

Forum Jump:


Users browsing this thread: 1 Guest(s)