kernc/xsuspender

Scripts for additional suspension checks

Open

#5 ouverte le 12 janv. 2019

Voir sur GitHub
 (3 commentaires) (0 réactions) (0 assignés)C (19 forks)github user discovery
enhancementhelp wanted

Métriques du dépôt

Stars
 (354 stars)
Métriques de merge PR
 (Métriques PR en attente)

Description

Idea

Implement a scripts that checks whether suspension is needed or not based on current process behavior. Have an option which scripts to activate for a profile.

Example checks

  • Does application play sound or not by checking pulse audio inputs.

pacmd list-sink-inputs short command gives information which processes are playing sound, also PID of process

  • Is application under high CPU load

If application is under high CPU load it might not be wise to suspend processes, as it might be processing something.

  • Is application having high network traffic lately

If application is having high network traffic it might not be wise to suspend processes, as it might be downloading or uploading something.

Guide contributeur