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
  pbp with manjaro arm seems to not find any hardware[no wifi, blutooth or battery] frank_philip 4 975 03-15-2025, 01:47 AM
Last Post: frank_philip
  Improved battery life with TLP daemon Surehand53 0 722 12-30-2024, 07:46 AM
Last Post: Surehand53
  Manjaro [ARM Stable Update] 2021-07-23 issues Bocanila 1 2,869 08-21-2023, 09:10 PM
Last Post: vanessadonald
  Hibernation and Speaker Sound Issues, First Month of PBP kebab 7 5,338 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 1,307 09-30-2022, 10:15 AM
Last Post: crazyquark
  Fedora 33 to 34 upgrade issues tydeman 2 3,654 12-02-2021, 02:43 AM
Last Post: linuxfreund
  Battery gauge issue (mainline kernel) lfourquaux 4 6,739 05-22-2021, 02:43 PM
Last Post: jiyong
  eMMC frequently not found by Linux kernel (especially on low battery) v-man 14 22,179 05-14-2021, 01:18 PM
Last Post: djhnsn
  Battery charge threshold xNix 1 2,979 04-17-2021, 07:13 AM
Last Post: Damon
Question Manjaro arm + sway - battery indicator broken mfashby 6 8,995 02-20-2021, 04:07 AM
Last Post: mfashby

Forum Jump:


Users browsing this thread: 1 Guest(s)