Reply
Thread Tools
Posts: 277 | Thanked: 319 times | Joined on Jan 2010
#1311
I see what you mean, but I still think it's more down to luck what you see as percentage in the morning. Let's say it takes two hours to charge the phone to 100% from 20%. You go to bed for eight hours. That still leaves 6 hours to discharge/charge the phone with or without background connections. It will certainly not go six hours with just 2% even in PSM.

Battery level is just a number, 93% is almost as good as 100%. It's not an exact science...
 

The Following User Says Thank You to slarti For This Useful Post:
Posts: 1,313 | Thanked: 2,977 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:
Posts: 594 | Thanked: 1,094 times | Joined on Aug 2012 @ Rhine
#1313
Originally Posted by slarti View Post
Battery level is just a number, 93% is almost as good as 100%. It's not an exact science...
Especially not, when we're talking about the N9
 
Win7Mac's Avatar
Community Council | Posts: 664 | Thanked: 1,648 times | Joined on Apr 2012 @ Hamburg
#1314
Originally Posted by ajalkane View Post
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
Though I have allowed other sources, upon installation of mcetools, I get these lines:
Code:
Entpacken von mcetools (aus .../mcetools_1.10.131+0m6_armel.deb) ...

aegis-installing mcetools (from '')

Package mcetools: denied 'mce::CallStateControl' -- origin '' does not allow it

Package mcetools: denied 'mce::DeviceModeControl' -- origin '' does not allow it

Package mcetools: denied 'mce::LEDControl' -- origin '' does not allow it

Package mcetools: denied 'mce::TKLockControl' -- origin '' does not allow it

Package mcetools: denied 'mce::CallStateControl' for '/sbin/mcetool' -- origin '' does not allow it

Package mcetools: denied 'mce::DeviceModeControl' for '/sbin/mcetool' -- origin '' does not allow it

Package mcetools: denied 'mce::LEDControl' for'/sbin/mcetool' -- origin '' does not allow it

Package mcetools: denied 'mce::TKLockControl' for '/sbin/mcetool' -- origin '' does not allowit

aegis-installing mcetools (DBus system 'com.nokia.mcetool' configuration)

mcetools (1.10.131+0m6) wird eingerichtet ...

Updating desktop entries... Done
Can I continue without the missing packages or how can I get them?
__________________
Nokia 5110 > 3310 > 6230 > N70 > N9 BLACK 64GB
Hildon Foundation Board member
Maemo Community e.V. co-creator, founder and director since Q4/2016
Current Maemo Community Council member
 
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#1315
Win7Mac,

mcetools has to be either incepted or installed via fixed origin... It has been mentioned always before
 

The Following User Says Thank You to thedead1440 For This Useful Post:
Win7Mac's Avatar
Community Council | Posts: 664 | Thanked: 1,648 times | Joined on Apr 2012 @ Hamburg
#1316
Originally Posted by thedead1440 View Post
mcetools has to be either incepted or installed via fixed origin... It has been mentioned always before
I don't (want to) use inception, so I simply put
Code:
~#AEGIS_FIXED_ORIGIN=com.nokia.maemo apt-get install mcetools
?
__________________
Nokia 5110 > 3310 > 6230 > N70 > N9 BLACK 64GB
Hildon Foundation Board member
Maemo Community e.V. co-creator, founder and director since Q4/2016
Current Maemo Community Council member
 
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#1317
Originally Posted by Win7Mac View Post
I don't (want to) use inception, so I simply put
Code:
~#AEGIS_FIXED_ORIGIN=com.nokia.maemo apt-get install mcetools
?
either you do
Code:
export AEGIS_FIXED_ORIGIN=com.nokia.maemo
apt-get install mcetools
or

Code:
apt-get install -d mcetools
AEGIS_FIXED_ORIGIN=com.nokia.maemo dpkg -i /var/cache/apt/archives/mcetools*

Edit: Of course you must be in open mode to do the above

Last edited by thedead1440; 2013-05-15 at 16:02.
 

The Following User Says Thank You to thedead1440 For This Useful Post:
Win7Mac's Avatar
Community Council | Posts: 664 | Thanked: 1,648 times | Joined on Apr 2012 @ Hamburg
#1318
Originally Posted by thedead1440 View Post
Edit: Of course you must be in open mode to do the above
Oh, and I was already wondering why it still wouldn't work...
I used
Code:
export AEGIS_FIXED_ORIGIN=com.nokia.maemo
apt-get install mcetools
and it told me it is already latest version.

So no mcetools for guys like me living without open mode or inception?
__________________
Nokia 5110 > 3310 > 6230 > N70 > N9 BLACK 64GB
Hildon Foundation Board member
Maemo Community e.V. co-creator, founder and director since Q4/2016
Current Maemo Community Council member
 
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#1319
Firstly, if you already have it installed of course it wouldn't install it again without either you purging it first or using the --reinstall flag.

Secondly, mcetools is to control mce which can only be done if it is installed from a trusted source. By being installed from unknown origin it is unable to do so. Inception or open mode's fixed origin gives it a trusted origin.

An alternative I think is to change the origin of the existing installation of mcetools in refhashlist to a trusted origin and re-signing refhashlist. This method is pretty easy to give you a MALF if you don't know what you are doing.
 

The Following User Says Thank You to thedead1440 For This Useful Post:
Posts: 176 | Thanked: 117 times | Joined on Nov 2007 @ California
#1320
Is there any rule that will let me keep 3G on when using wifi hotspot?
 
Reply


 
Forum Jump


All times are GMT. The time now is 01:25.