View Single Post
ciroip's Avatar
Posts: 334 | Thanked: 366 times | Joined on Nov 2008 @ Italy
#118
Alarm routine completed. Now it run in its own while loop and let me update the clock each 60 seconds (instead of each second like before). I m sure this solution will raise some exception to the alarm but im too dummy to try to figure out what and where so I decided to just drop the thing on the wild and see what happen. Ill keep studing some more serious solutions but for now this is what I am able to put up .
This should be the 1st really usable release, it show the percentage of the battery level all the time (another reason to keep the application running all the time . I should not be too difficult to keep a variable to store an entire day of battery history (something like 720 ticks per day (a sample each 2 minutes) to populate the graph space I prepared on the about screen and it should fit well on the 800 pixel of the tablet.
https://garage.maemo.org/frs/downloa...98/fk9.tar.bz2

https://garage.maemo.org/frs/downloa.../changelog.txt
I know, the leds could become really annoying but I can't force myself to remove the feature. In case just changing the
sw_led variable to 1 in ci_init.py should be enough to disable the 'spettring'.
There is a lot of free space on the about screen so if someone want his name there can drop a line here to say if the alarm have any issue on a long term (more than a couple of hours) use.
The clock still keep working even when is in background since I didnt found the OS call to interrogate and save some resource anyway I really like the idea to keep updating the battery things so even without any alarm set the application have always have something to do at least each 2 minutes.
I think that's all for the day.
Buonanotte a tutti e buona domenica.
__________________
I can't do it. No one can help.
[SIGPIC][/SIGPIC]

Flip Alarm Clock - 3DMania Theme - Synesthesia - Deluxepain
http://ciroip.blogspot.com/
http://twitter.com/ciroippolito
 

The Following 4 Users Say Thank You to ciroip For This Useful Post: