Notepad for touch device using Qwerty keyboard

I have a vivoactive4 and wanted a notepad widget for on-the-go notes. I couldn't find anything with qwerty keyboard on IQ store and decided to make my own. I downloaded the essentials and sniffed some monkey c - I have a general concept of what I'm doing. I got the app to function properly but noticed a major battery drain. This happens even when it's exited. My opening code contains

    function onStop(state) as Void {
        App.Storage.setValue("messageBuffer", view.messageBuffer); // Store persistently
        System.println("exited");
        System.exit();
    }
which always prints "exited" to the debug console. I would hope this means it quits running (even in the background). Any help would be appreciated. I tried various code refactoring to eliminated the bug but either I don't know what I'm doing or I don't know what I'm doing.
### Idea / Question ###
This is also in part an exploration of Garmin / Android capability. Would it be possible (or has it been done) to create a headless companion app that listens for messaging notification, stores their content and id, and displays the messages on a garmin watch widget. When the user selects the notification on the watch, a virtual keyboard is shown and the user types a message. This message is sent back to the android app and then posted to the appropriate notification's pendingIntent (reply) option. Basically a messaging client for garmin watch. Any thoughts / guidance / advice would be appreciated.
The zip contains my current vscode project.