|
|
2008-08-18
, 12:42
|
|
Posts: 566 |
Thanked: 150 times |
Joined on Dec 2007
|
#11
|
|
|
2008-08-18
, 12:51
|
|
Posts: 3,841 |
Thanked: 1,079 times |
Joined on Nov 2006
|
#12
|
|
|
2008-08-18
, 12:52
|
|
|
Posts: 3,404 |
Thanked: 4,474 times |
Joined on Oct 2005
@ Germany
|
#13
|
kill -STOP <pid>
|
|
2008-08-18
, 13:02
|
|
Posts: 2,152 |
Thanked: 1,490 times |
Joined on Jan 2006
@ Czech Republic
|
#14
|
So I wonder isn't it possible to just halt a process, no matter how good or bad the application is written?
|
|
2008-08-18
, 13:50
|
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#15
|
|
|
2008-08-18
, 13:52
|
|
Posts: 566 |
Thanked: 150 times |
Joined on Dec 2007
|
#16
|
|
|
2008-08-18
, 14:06
|
|
Posts: 2,152 |
Thanked: 1,490 times |
Joined on Jan 2006
@ Czech Republic
|
#17
|
In case of a 'suspend' mode I would think you only want to keep those processes running that you need to get out out suspend mode again.
|
|
2008-08-19
, 07:05
|
|
|
Posts: 3,397 |
Thanked: 1,212 times |
Joined on Jul 2008
@ Netherlands
|
#18
|
Well, technically you currently don't tell your device to go to power-saving mode. Device goes to power-saving mode automatically whenever possible.
I see what you mean but part of the problem is in fact lack of such explicit power-saving mode. there is offline mode, mode when screen is off, mode when touchscreen and keyboard is locked but no explicit 'please do really nothing and save power' mode.
Good example is media player, people want it to play even in offline mode, with screen, keyboard and touchscreen off. This is can of worms, random people want random set of features to work in such idle mode so there can't be one such mode.
|
|
2008-08-19
, 07:10
|
|
|
Posts: 3,397 |
Thanked: 1,212 times |
Joined on Jul 2008
@ Netherlands
|
#19
|
Just to answer that very last question, without going into ramifications at all: Yes, it's possible. There's a Unix signal for that: SIGSTOP. It suspends the application until you send SIGCONT.
$ browser ^Z $ fg
|
|
2008-08-19
, 07:24
|
|
Posts: 2,152 |
Thanked: 1,490 times |
Joined on Jan 2006
@ Czech Republic
|
#20
|
for p in `pidof browser` ; do kill -SIGSTOP $p ; done