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

Getting "E couldn't query power status from /sys/class/power_supply" in daemon when start mining #9509

Open
ludblom opened this issue Oct 9, 2024 · 2 comments

Comments

@ludblom
Copy link

ludblom commented Oct 9, 2024

OS: Linux home 6.1.111-1-MANJARO #1 SMP PREEMPT_DYNAMIC Wed Sep 18 21:01:06 UTC 2024 x86_64 GNU/Linux
Monero version: 0.18.3.4-2

I am having the issue with not being able to start the mining because I get the error message E couldn't query power status from /sys/class/power_supply. I have seen other closed fault reports here but most of them point to the fix that was made back in 2017, so the version I use should already have the fix included..

I run it on a stationary PC so I do not have anything in /sys/class/power_supply, so I understand why it complains, but have also tried to start the daemon with the flag --bg-mining-ignore-battery, but still give me the same error message.

Anyone who have an idea why?

@0xFFFC0000
Copy link
Collaborator

I have seen E couldn't query power status from /sys/class/power_supply.

I don't think that is a very serious issue. Of course there should be a way to fix it. But IIRC that is more like a warning.

But the important thing is I don't think it is related to mining. I mean you should be able to easily start the mining without issues.

Can you invest your log and check why is not exactly possible to start mining?

@gustavokennedy
Copy link

Hi @ludblom!

Have you tried creating a dummy folder for the battery device?

mkdir -p /sys/class/power_supply/BAT0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants