Bug#1025141: powermgmt-base: Doesn't correctly detect we are on AC power

2023-03-01 Thread Raymond S Brand
Followup to Santiago's report: The script is also reporting that my Dell 3260CFF (Compact Form Factor) is not on AC power when it is since it doesn't have a battery option. The following may be of some help: $ sh -x /sbin/on_ac_power + set -e + OFF_LINE_P=no + [ -d /sys/class/power_supply/ ]

Bug#1025141: powermgmt-base: Doesn't correctly detect we are on AC power

2022-11-30 Thread Santiago Garcia Mantinan
Hi! > It's possible that your machine can indeed be powered via USB C, new laptops > usually can. Which leads to fun like laptop that wants to be charged by a > phone -- and indeed negotiating it that way. If it was like that... do you think that USB-C would be a real USB or just for power deliv

Bug#1025141: powermgmt-base: Doesn't correctly detect we are on AC power

2022-11-30 Thread Adam Borowski
On Wed, Nov 30, 2022 at 08:52:41AM +0100, Santiago García Mantiñán wrote: > I'm running Debian stable on a HP ProDesk 600 G6 Small Form Factor PC > (Family: 103C_53307F HP ProDesk) > > It is a desktop machine which ovbiously runs on AC all the time, however > on_ac_power returns 1 which is stoppin

Bug#1025141: powermgmt-base: Doesn't correctly detect we are on AC power

2022-11-30 Thread Santiago García Mantiñán
Package: powermgmt-base Version: 1.37 Severity: normal Dear Maintainer, I'm running Debian stable on a HP ProDesk 600 G6 Small Form Factor PC (Family: 103C_53307F HP ProDesk) It is a desktop machine which ovbiously runs on AC all the time, however on_ac_power returns 1 which is stopping things l