2011/1/20 Kurt H Maier :
> pm-suspend
acpitool also supports suspending.
> -s, --suspend suspend to memory (sleep state S3), if supported
> -S suspend to disk (sleep state S4), if supported
On Thu, Jan 20, 2011 at 10:23:34AM -0500, Eitan Goldshtrom wrote:
Is there a way to put your computer to sleep/suspend it in wmii? I've
been 'quit'ing and suspending from the Ubuntu login screen but it would
be nice to be able to keep all my apps and such open. Even just being
able to switch
Hey list
I need some kind of alarm system in dwm, as my laptop has already
turned off several times due to running out of battery.
I thought of different possibilities. Maybe some kind of popup that is
displayed on every tag. Or letting the blue window title area blink
red. In combination with so
acpid
e.g.
==
#!/bin/sh
# /etc/acpi/default.sh
# Default acpi script that takes an entry for all actions
. /home/peterjh/.bash_functions
# How long to wait once the lid is closed before going into suspend
LID_STALL=60
# How low can we go.
BAT_LIMIT=325
# script
HIB_SCRIPT=/home/peterjh/bin/hib.s
Check the 'simple monitors' page at dwm.suckless.org for a battery
percentage display. It doesn't blink or any silly crap like that, though.
Danilo Bargen dixit (2011-01-26, 23:18):
> I need some kind of alarm system in dwm, as my laptop has already
> turned off several times due to running out of battery.
Also have a look at my idea shown on the ML on 04 Dec 2010 (I
forwarded you a copy of the message).
--
[a]
Hi
On Wed, Jan 26, 2011 at 11:21 PM, Peter John Hartman
wrote:
> acpid
Thanks for your answer. acpid is a good idea, as it also works when
dwm hasn't been started. But it only solves the problem of detecting
low battery, not of the way of alarming. In your script, you're
directly suspending your
On Sat, Jan 22, 2011 at 05:02:27PM -0600, Dan White wrote:
> I've been using st on and off for a bit. It's been great as a
> fast-start popup terminal. However, I go for 80x40 for most uses and
> made up this patch to make the initial geometry an option.
That was a very nice patch, it inspired m
On 1/26/11, Danilo Bargen wrote:
> Also thanks Antoni for your idea, looks interesting too. But I think I
> just found another solution. As I'm using a Thinkpad laptop, I'll just
> start flashing the Thinklight-LED[1]. Should be enough to draw my
> attention to it :)
The firmware on my Dell Vostro
Danilo Bargen
> Also thanks Antoni for your idea, looks interesting too. But I think I
> just found another solution. As I'm using a Thinkpad laptop, I'll just
> start flashing the Thinklight-LED[1]. Should be enough to draw my
> attention to it :)
>
> Cheers
> Danilo
>
> [1] http://en.wikipedi
Hi
On Wed, Jan 26, 2011 at 11:57:36PM +0100, Danilo Bargen wrote:
> Hi
>
> On Wed, Jan 26, 2011 at 11:21 PM, Peter John Hartman
> wrote:
> > acpid
>
> Thanks for your answer. acpid is a good idea, as it also works when
> dwm hasn't been started. But it only solves the problem of detecting
> low
My w510 doesn't buzz, but the battery light on the back of the lid (what a
great place to place it) turns yellow when I have a low battery.
On Jan 26, 2011 6:09 PM, "Jakub Lach" wrote:
...in my laptop noisy buzzer kicks
in before battery is fully depleted,
are your sure that is not the case
with yours?
As simple as it gets.
regards,
- Jakub Lach
Yes, I'm sure. I would have heard it, I'm not deaf. I just checked the bios
options, there's nothing in there. What model do you have?
On Jan 26, 2011 6:24 PM, "Jakub Lach" wrote:
Jacob Todd :
>Yes, I'm sure. I would have heard it, I'm not deaf.
>I just checked the bios options, there's nothing in there.
>What model do you have?
T400.
Last time battery died on me was when I
muted laptop and forgot about it.
It is usually really loud, and kicks in
around 3% battery
On Wed, Jan 26, 2011 at 6:46 PM, Jakub Lach wrote:
> Last time battery died on me was when I
> muted laptop and forgot about it.
Thinkpads get an orange battery light at 'low' and the light beings to
flash at 'critical.'
Anyway, just have whatever is updating your statusbar check the
battery lev
On Wed, Jan 26, 2011 at 18:46, Jakub Lach wrote:
>
> T400.
>
> Last time battery died on me was when I
> muted laptop and forgot about it.
>
> It is usually really loud, and kicks in
> around 3% battery charge.
>
> I'm using FreeBSD, but it should not be
> platform/acpi implementation specific?
>
You would need to add `sudo pm-hibernate` or whatever you use to
hibernate to the last if statement.
On Wed, Jan 26, 2011 at 11:51 PM, Jakub Lach wrote:
> ...in my laptop noisy buzzer kicks
> in before battery is fully depleted,
> are your sure that is not the case
> with yours?
It does sometimes. It certainly did when I ran out of battery while
using Windows, and if i'm not mistaken, it already
I prefer tux on ice, I get a nice progress bar and the ability to
cancel hibernation.
Bit more effort since you need to patch the kernel, but there's a git
repository you can clone at kernel.org
Rob.
A progress bar?
When I suspend my laptop using "acpitool -s", it takes about 2
seconds. No time for a progressbar.
Danilo
On Thu, Jan 27, 2011 at 1:47 AM, Rob wrote:
> I prefer tux on ice, I get a nice progress bar and the ability to
> cancel hibernation.
This solution seems to work great (part of my .xinitrc):
while true; do
# Set root title
sh $HOMEDIR/.xsetroot
# Check battery level
BATT=$( acpi -b | sed 's/.*[charging|unknown],
\([0-9]*\)%.*/\1/gi' )
if [ $BATT -le 5 ]; then
I've also been using s2ram, it gets called by the lm_lid acpi event.
I didn't even know there were all these alternatives.
I have no need for hibernation, because I'm never in standby mode for
more than a few days.
23 matches
Mail list logo