View Single Post
Posts: 1,313 | Thanked: 2,978 times | Joined on Jun 2011 @ Finland
#1312
Originally Posted by Win7Mac View Post
Now I would like to use profilematic to kill that data-connection as soon as 100% charging are reached (to act like in regular powersaving mode as if charger was not in place).
Ideally, deactivating the rule(s) would be triggered by unplugging the charger.
Is this possible? - If so, what would the steps be?
Create a rule with "When charging and battery-level 100%". To turn off internet connection see:

http://talk.maemo.org/showpost.php?p...&postcount=983

To turn it back on you will need a different rule. I think just having a rule for "When not charging" and running the "internet connection script on" would be sufficient. It would only run when unplugging phone from charger. You could combine it with battery level over 90%, or perhaps even better with "When no internet connection". Though I don't know if that script messes with how ProfileMatic detects internet connections.

Anyway, fun times for you testing it out .
__________________
My N9/N950 projects:
 

The Following User Says Thank You to ajalkane For This Useful Post: