From SailfishOS Documentation

Source code: dashboard entry

MCE stands for Mode Control Entity - it's a daemon that monitors and handles various global modes or states including some sensor and touch input.


  • Touch / tap
  • Power buttons
  • Power state (hibernate etc)
  • Memory

General Notifications

OOM Handling

While process specific warnings about oom killer activity are not available, the MCE daemon tracks (absolute) system memory pressure via the memnotify kernel interface. Device specific configuration is used to map that in to 3 logical levels ("normal", "warning", "critical" - or "unknown" in case memnotify support / configuration is not present). On warning level non-essential resources should be released, and on critical level oom killing of some processes can be expected.

These logical levels are exposed on D-Bus system bus. The interface is introspectable and can thus be used for example via nemo-qml-plugin-dbus / inspected via qdbus utility:

   % /usr/lib/qt5/bin/qdbus --system /com/nokia/mce/request|grep memo
   method QString
   %  /usr/lib/qt5/bin/qdbus --system /com/nokia/mce/signal|grep memo
   signal void memory_level)

As an example, the current state can be queried from command line via:

   % dbus-send --system --type=method_call --print-reply /com/nokia/mce/request

And tracked via:

   % dbus-monitor --system,,member=sig_memory_level_ind