:: Re: [DNG] rq: show me your power
Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Adam Borowski
Fecha:  
A: dng
Asunto: Re: [DNG] rq: show me your power
On Mon, Mar 12, 2018 at 03:02:38AM +0100, Arnt Karlsen wrote:
> On Mon, 12 Mar 2018 00:59:21 +0100, Adam wrote in message
> <20180311235921.aq6uclmmsx2ipcwf@???>:
>
> > Hi!
> > If you have a machine with a non-boring power connection (USB, etc)
> > or an UPS that's recognized by the kernel (rather than just nut),
> > please ls /sys/class/power_supply/ -- if you see anything other than
> > "ac" or "battery" there, please send me that data.
>
> ..I have one laptop with "AC0", one with "AC", both with "BAT0".
> Both my Raspberry Pis have empty /sys/class/power_supply link
> trees, 3 pipe mails mailed in case you can use them.


That's the common case, that's handled well by any tool I looked at:
* laptops with exactly one AC and exactly one battery
* desktops/servers/boards with no power sensors of any kind

Systemd knows about multiple AC/multiple batteries, current powermgmt-base
also about old style not yet converted drivers (Powerbooks, ancient i386);
what I'm interested in are more exotic new style cases.

> > grep . /sys/class/power_supply/*/* | mail -s power kilobyte@???


Your local MTA is not capable of delivering outgoing mail (that's the
default unless configured); unless you have some other purpose, don't bother
fixing this for my sake (your machines are already handled well).

Thanks for looking!


Meow.
--
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ A dumb species has no way to open a tuna can.
⢿⡄⠘⠷⠚⠋⠀ A smart species invents a can opener.
⠈⠳⣄⠀⠀⠀⠀ A master species delegates.