question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Plugged-In icon shows up as a question mark

See original GitHub issue

Bug Report

Description

Affected module: battery Version used: AUR 1.10.4-2

When laptop is plugged in, instead of displaying the plugged-in icon, a question mark icon is displayed. This is rather strange, since the issue clearly isn’t an invalid character. The question mark is the question mark icon provided by Font Awesome. All the other icons are rendering perfectly fine, just to be clear.

How to reproduce

  1. Install bumblebee-status from the AUR
  2. Install powerline-fonts and awesome-terminal-fonts
  3. Run bumblebee-status in i3 bar configuration like so
bar {
    font pango:Inconsolata, FontAwesome, PowerlineSymbols 11
    position top
    tray_output none
    status_command bumblebee-status\
        -m battery datetime nic pasink pasource\
        -p datetime.format="%a. %b %d %H:%M" nic.exclude="lo,wlan0"\
        -t gruvbox-powerline
}

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
rosalogiacommented, Jun 14, 2020
  1. You’re right that the issue here is that the battery charging status is unknown (cat /sys/class/power_supply/BAT*/status outputs Unknown) so good call! No idea how to fix that but obviously it’s not always an issue, and furthermore it’s not really within the scope of this project

  2. battery-upower DOES work! Interesting, thank you for the solution!

1reaction
rosalogiacommented, Jun 11, 2020

That makes a lot of sense! I’m away from my computer right now but I’ll be sure to get back to you after testing it out tomorrow. Thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Battery symbol with question mark inside!
Hmmm check the terminals? A question mark battery usually isn't good, your battery might be screwed. Try plugging it in and waiting for...
Read more >
SOLVED: Battery Icon with question mark (?) - HP TouchPad
My new stylo 5 phone has its original charger it shows a question mark when plugged in. What can I do to fix...
Read more >
Weird Battery symbol and plug with question mark
It just means that the battery didn't have enough juice to power on the phone. Just charge it for a while and you...
Read more >
Plug Icon on Battery when Plugged in? - Apple Community
I have been having problems recently where when I plug in my laptop to charge, I get this symbol on the battery icon...
Read more >
Dualsense shows question mark instead of charging. : r/PS5
Try to reset the controller (the button on the back ) and use the official or a good quality USB cable. If that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found