bugGNU Parallel - Bugs: bug #43170, wish: niceload only run on AC (not...

 
 

bug #43170: wish: niceload only run on AC (not battery)

Submitter:  Ole Tange <tange>
Submitted:  Mon 08 Sep 2014 01:42:09 PM UTC
   
 
Category:  None Severity:  1 - Wish
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 09 Sep 2014 12:30:17 PM UTC, comment #3: 

cat /proc/acpi/battery/BAT0/state

Ole Tange <tange>
Group administrator
Tue 09 Sep 2014 12:29:21 PM UTC, comment #2: 

upower -i /org/freedesktop/UPower/devices/battery_BAT0

$ cat /sys/class/power_supply/BAT0/status

Discharging

Ole Tange <tange>
Group administrator
Tue 09 Sep 2014 12:26:41 PM UTC, comment #1: 

$ acpi

Battery 0: Discharging, 99%, 01:01:56 remaining

Ole Tange <tange>
Group administrator
Mon 08 Sep 2014 01:42:09 PM UTC, original submission:  

Some how measure if we are on battery.

Ole Tange <tange>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by tange (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code