tdepowersave reports plugged in when not #30

Closed
opened 4 years ago by mgb · 8 comments
mgb commented 4 years ago

Basic information

  • TDE version: 4:14.0.8-0debian10.0.0+0
  • Distribution: Debian Buster
  • Hardware: amd64 - Lenovo P72

Description

tdepowersave always reports "plugged in" whether plugged in or not.

"acpi -a" gives correct results when plugged in and when not plugged in.

FWIW I don't recall this in 14.0.7 but I don't know of an easy way to go back to 14.0.7 to verify this.

Steps to reproduce

Screenshots

<!-- This is a comment. Please fill in the required fields below. The comments provide instructions on how to do so. Note: You do not need to remove comments. --> ## Basic information - TDE version: 4:14.0.8-0debian10.0.0+0 - Distribution: Debian Buster - Hardware: amd64 - Lenovo P72 <!-- Use SL/* labels to set the severity level. Please do not set a milestone. --> ## Description tdepowersave always reports "plugged in" whether plugged in or not. "acpi -a" gives correct results when plugged in and when not plugged in. FWIW I don't recall this in 14.0.7 but I don't know of an easy way to go back to 14.0.7 to verify this. ## Steps to reproduce ## Screenshots <!-- If it seems useful, please provide provide one or more screenshots. -->
Owner

For a quick test you can try to use Slax with Trinity, which has not been updated to R14.0.8 yet.

For a quick test you can try to use Slax with Trinity, which has not been updated to R14.0.8 yet.
Owner

Please, you can look in Device Manager on R14.0.8, how many power supply devices you have there.

Please, you can look in Device Manager on R14.0.8, how many power supply devices you have there.
mgb commented 4 years ago
Poster

One:

One:
Owner

Ok thank you. In the Device Manager, what status is displayed in the power supply properties? Is the status displayed correctly here?

Ok thank you. In the Device Manager, what status is displayed in the power supply properties? Is the status displayed correctly here?
mgb commented 4 years ago
Poster

FYI I downgraded ONLY tdepowersave-trinity to 14.0.7 and it says running on battery whether plugged in or not.

However Device Manager gives correct answer.

I'm going to post this and do some more tests and follow up in a few minutes with more info.

FYI I downgraded ONLY tdepowersave-trinity to 14.0.7 and it says running on battery whether plugged in or not. However Device Manager gives correct answer. I'm going to post this and do some more tests and follow up in a few minutes with more info.
mgb commented 4 years ago
Poster

OK. My best guess is that tdepowersave-trinity is reporting power status correctly at start of sesssion but not seeing any updates thereafter.

OK. My best guess is that tdepowersave-trinity is reporting power status correctly at start of sesssion but not seeing any updates thereafter.
Owner

Thank you for testing. I had the same suspicion while researching tdepowersave on Pinebook Pro. It seems to be platform dependent, because on EeePC changes in power state are reflected correctly.

Thank you for testing. I had the same suspicion while researching tdepowersave on Pinebook Pro. It seems to be platform dependent, because on EeePC changes in power state are reflected correctly.
SlavekB added this to the R14.0.9 release milestone 4 years ago
Owner

The problem with signaling the change of power supply status has been resolved in TDE/tdelibs#110. The problem mentioned for Pinebook Pro is of a different type and will be solved as a separate issue in TDE/tdepowersave.

The problem with signaling the change of power supply status has been resolved in TDE/tdelibs#110. The problem mentioned for Pinebook Pro is of a different type and will be solved as a separate issue in [TDE/tdepowersave](../tdepowersave).
SlavekB closed this issue 4 years ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Reference: TDE/tde#30
Loading…
There is no content yet.