#18748 closed enhancement (fixed)
Add PowerStatus replicant to Deskbar on first boot (if there is a battery)
Reported by: | waddlesplash | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | R1/beta5 |
Component: | Applications/PowerStatus | Version: | R1/beta4 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
As in title.
This will probably require some new command-line argument to PowerStatus, to detect if there's a battery and instantiate if so, or silently quit if not.
Change History (13)
comment:2 by , 10 months ago
Replying to bruno:
No, this is no bug! Nothing, should be added without user knowledge\agreement!
Ask the user first!
No BeOs functionalyty!
Not needed for Haiku R1!
This definitely is a bug. I'm just trying to run Haiku on my ThinkPad and I didn't know that Haiku had a battery meter. I was getting shutdowns from running out of power all the time!
Other OSes detect that they're running on laptops and show power meters right out of the box. Haiku should, too.
comment:3 by , 10 months ago
We already add the NetworkStatus and other such replicants without user acknowledgement. If it's unwanted, it's easy enough to remove, too.
comment:4 by , 10 months ago
Type: | bug → enhancement |
---|
comment:6 by , 10 months ago
It would still be nice, however, if PowerStatus would quit automatically if it doesn't detect any batteries (but only when launched with --deskbar).
comment:8 by , 10 months ago
On my machine, it eventually does, but only after an attempt to call an ACPI method times out, so it is visible in DeskBar running apps for a couple seconds at every boot, then it disapears.
comment:9 by , 10 months ago
Every boot? default_deskbar_items.sh is only supposed to run on the first boot, once. If it's running every time, that sounds like a problem.
comment:10 by , 10 months ago
FWIW, running PowerStatys --deskbar
on my Atom N450 netbook (no battery connected), leaves the icon on Deskbar permanently.
I was planning to open a bug for my case, as the "Extended battery info" window shows:
"Battery unused", but Capacity is either 0 mAh , or a hilariously large value... currently: "1752440876 mAh".
"Current rate" also looks funny with "-132104 mA", and the icon sometimes is 100% "full green", or othertimes... "empty, but still 100%".
comment:11 by , 10 months ago
That sounds like some bug in the ACPI power driver itself and deserves a separate ticket indeed.
comment:12 by , 6 months ago
At least here, I can confirm that the "default_deskbar_items" script only runs once. So if it happens multiple times for you, PulkoMandy, then something else must be going on.
comment:13 by , 6 months ago
I don't see it everytime anymore, not sure hat changed or how I was testing. I have some other weird problems with my test install anyway, I should erase and recreate it someday.
No, this is no bug! Nothing, should be added without user knowledge\agreement!
Ask the user first!
No BeOs functionalyty!
Not needed for Haiku R1!