i3status issues reading battery status
#7
Quote:Remaining time does not work for me but at least you will have the percentage.

I've got a patch that enables that here: https://github.com/C-Elegans/i3status.

Essentially the issue is i3status is looking for a field called POWER_SUPPLY_CHARGE_NOW with the current state of charge in Wh or mAh that it can use to calculate the battery run time. The pinebook battery doesn't provide this, however it does expose a field called POWER_SUPPLY_TIME_TO_EMPTY_NOW which has the number of minutes until the battery is empty. My patch just has i3status look at that if it's present instead of trying to calculate the runtime from the other fields.

Hope this helps!


Messages In This Thread
i3status issues reading battery status - by dummy - 01-20-2020, 04:08 PM
RE: i3status issues reading battery status - by C_Elegans - 01-27-2020, 02:04 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Manjaro [ARM Stable Update] 2021-07-23 issues Bocanila 1 2,063 08-21-2023, 09:10 PM
Last Post: vanessadonald
  Hibernation and Speaker Sound Issues, First Month of PBP kebab 7 3,076 11-02-2022, 02:33 PM
Last Post: kebab
  Any chance of fixing the audio issues on the new batch PBP(it can't be just me...) crazyquark 0 781 09-30-2022, 10:15 AM
Last Post: crazyquark
  Fedora 33 to 34 upgrade issues tydeman 2 2,532 12-02-2021, 02:43 AM
Last Post: linuxfreund
  Battery gauge issue (mainline kernel) lfourquaux 4 5,070 05-22-2021, 02:43 PM
Last Post: jiyong
  eMMC frequently not found by Linux kernel (especially on low battery) v-man 14 16,905 05-14-2021, 01:18 PM
Last Post: djhnsn
  Battery charge threshold xNix 1 2,231 04-17-2021, 07:13 AM
Last Post: Damon
Question Manjaro arm + sway - battery indicator broken mfashby 6 6,835 02-20-2021, 04:07 AM
Last Post: mfashby
  Manjaro Issues: Dark Screen & Font size Sally2 1 3,032 12-19-2020, 03:33 PM
Last Post: wove
  Status stonepound 0 1,635 11-18-2020, 01:35 PM
Last Post: stonepound

Forum Jump:


Users browsing this thread: 1 Guest(s)