Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Battery status is displayed with some random hardware identifiers #1500

Open
loxoron218 opened this issue Jan 11, 2025 · 4 comments
Open
Labels
bug Something isn't working

Comments

@loxoron218
Copy link

What happened:
The battery status is displayed with some apparently random extra hardware identifiers like: "Battery (0x4C 0x31 0x39 0x43 0x33 0x50 0x46 0x33): 100% [A]", instead of just the laptop battery percentage (e.g., "100%").

What should happen:
Only the laptop battery percentage (e.g., "100%") should be displayed without the additional hardware details.

Fastfetch version used:
2.33.0

Did it work in an older version:
Yes, this issue occured with the latest versions I've used.

Where did you get the binary:
Arch Linux official repository

@loxoron218 loxoron218 added the bug Something isn't working label Jan 11, 2025
@CarterLi
Copy link
Member

L19C3PF3 is the model name of your battery. For some reason Linux kernel report it as hex code.

You can hide it with --battery-key Battery

@loxoron218
Copy link
Author

Nice thanks! Is there a way to "solve" that permanently or is it a Linux kernel thing?

@CarterLi
Copy link
Member

It's reported by Linux Kernel. Try cat /sys/class/power_supply/BAT*/model_name

@loxoron218
Copy link
Author

It's reported by Linux Kernel. Try cat /sys/class/power_supply/BAT*/model_name

Yes, that command ouputs 0x4C 0x31 0x39 0x43 0x33 0x50 0x46 0x33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants