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

Power Usage #313

Open
1 task done
domi413 opened this issue Jul 31, 2024 · 2 comments
Open
1 task done

Power Usage #313

domi413 opened this issue Jul 31, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@domi413
Copy link

domi413 commented Jul 31, 2024

Is there an existing issue for this?

  • I searched the existing issues and did not find anything similar.

Current Behavior

I've noticed that when I plug in the power supply, the software displays the power usage as approximately 80 watts. This value represents the charging power rather than the actual power consumption.

It appears that the software is unable to differentiate between charging power and the power being used. It would be great if the charging power could also be displayed, but perhaps under a separate category such as "Battery Charge" instead of "Power Usage."

Environment

resources: 1.5.1
nixos: 24.05
@domi413 domi413 added the bug Something isn't working label Jul 31, 2024
@nokyan
Copy link
Owner

nokyan commented Aug 2, 2024

Hi, thanks for the issue.
The battery entity in SysFS itself only exposes the stat that Resources currently shows. There are other SysFS entities though for each charging port (in my case at least) that show the nominal charging speed (e.g. exactly 45W for my 45W charger). I doubt though that the constant 45W is actually real and I'm not sure if I want Resources to display a charging speed of 45W if in reality charging speed is much lower because the battery could already be quite full. I'll think about it. :)

@domi413
Copy link
Author

domi413 commented Aug 2, 2024

The issue I'm referring to isn't that the charging speed might be incorrect, but that the charging power is displayed as "Power Usage" instead of "Battery Charge."

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