Quote:
Originally Posted by Mackx
Yes keeping it 'awake', just for the clock isn't a good idea.
I assume that UDS after a page change sends the updatePageCounter-message to popupmenu, maybe also the updatesFinished-message. Is it possible to react on those event to update the clock (on a page-change), i.e. update the clock in the statusbar_update_toolbar() - function. (Or is that already working with the current implementation?)
|
Ok, We have it!!! Now clock label does automatic refreshes, no need to change page or anything.
The trick was Mackx's idea of using an eripc call with updatePageCounter message. A bit hackish but it works.
You can see the code in:
https://bitbucket.org/inigoserna/dr8...t/3ee425f2e073
Clock is updated every 30 secs but I can't see any battery drain. It continues on 89% as 10 minutes ago when I installed the new popupmenu.
Anyway, perhaps we should change to do the checks every 1 min.
EDIT: WARNING: I've observed some inestabilities after installing this version of popupmenu!
Btw, I've already uploaded new erbrowse and notepad versions to BB.
Could anyone test if they work correctly before launching a new release tomorrow? They work well both in qemu and in my DR800S.