1

Is it possible to keep a service at 300 [service] priority?

view story
linux-howto

http://stackoverflow.com – I am currently working on an application that requires a service to keep a connection to an XMPP server. Testing has shown that the service runs at Service level priority [300] at start-up but after opening the application and finishing all activities it runs at Background priority [400]. My understanding of the documentation is that the service should have a higher priority than processes that are in the background. Is it possible to ensure that the priority of a service stays at 300 priority? I would like to be able to do this to reduce the overhead cost of restarting the XMPP connection w (HowTos)