The battery tray indicators I've tried on Linux so far only seem to take the instantaneous power consumption into account. Is there one that estimates remaining battery life based on power draw over a longer time window and integrates easily with my desktop environment's tray?

all 10 comments

sorted by: hot top controversial new old
[–] 8 points 5 months ago

Most of them are just a frontend for upower anyway.

  • source
  • [–] 4 points 5 months ago (1 child)

    I never thought about it much but how hard would it be to add PID to your power info?

  • source
  • hideshow 1 child comment
  • [–] 2 points 5 months ago (6 children)

    What is your desktop environment?

  • source
  • hideshow 6 child comments
  • [–] [S] 1 point 5 months ago (5 children)
  • [–] 1 point 5 months ago (3 children)

    is the behavior the same in any other xwindows environment?

  • source
  • parent
  • hideshow 3 child comments
  • [–] [S] 1 point 5 months ago (2 children)
  • [–] 1 point 5 months ago (1 child)

    this would be a useful troubleshooting step and, since you're already using xfce, you should be able to easily and temporarily switch your display manger to switch to something like gnome or kde to check.

    if gnome shows battery correctly; then you know that it's xfce and then you have you answer.

  • source
  • parent
  • hideshow 1 child comment
  • [–] [S] 2 points 5 months ago*

    Not going after a bug though, it's just the way the included battery meter in Xfce (and other X11 battery indicators I've found) works, while things like Android track usage over time to give a better estimate.

    But based on the other responses, it looks like I'll have to cook it up myself.

  • source
  • parent