not big change
but i have already fixed the ringtone stutter without uploading it to the repository, i will do that after checking the batterylife in my N900 first
++ expect an effective speedpatch update soon
i was able to solve the xterm problem once and for all
and i was able to make cgroup uses /usr/share/policy/etc/rx.....
BatteryPatch :
* currently it returns to the default one, any suggestion how to make it remember the user's one ?
Sorry, I haven't had a chance to review the latest version yet. I'll take your change notes for face value and say I'm happy to see you've tried to adopt most of the changes I noted. I'll grab and review the latest version sometime soon when I have more free time (probably toward this weekend).
One bit from our discussion before was about how to determine what the current settings are for kernel, so battery patch can cleanly uninstall and restore the previous user configuration. Turns out, there's a file that contains the current user settings out in /etc/. So you can archive/restore that file on install/uninstall and leave a true 0-delta.
Just be sure to wrap the archive script in a way that prevents it from doing a double-backup and overwriting the config when doing a re-install or re-configure!
in my case
full standby
each 24 hours | 10--> 13 % is gone
i had a chance to leave N900 for fully idle when i had tests in my school
5 days without charging
was left 45% of battery
This is normal and happens also without battery patch. Full standby at 4-6 mAh consumption from battery full at 1240 mAh, means at best 310 hours (or 12 days) and at worst 206 hours (or 8.6 days). I also have almost horizontal line in battery-eye in standby, so I am not convinced at all about the usefulness of this patch. I mean how much less than 4 mAh consumption in idle I should want, since 0 mAh is not possible unless I shut down the phone?
this file is not effective with kernel-power-settings installed
and the only way to *make an N900 use it* if it was using it before installing batterypatch
is simply remove batterypatch and kernel-power-settings
i cannot make the uninstall process of batterypatch removes kernel-power-settings because i wouldn't be able to know that the user would like to stay with kernel-power-settings or with pmconfig
and i don't think that normal users will use pmconfig
as for power users, they may do and they will know that they need to remove kernel-power-settings
and btw installing of batterypatch doesn't modify nor delete pmconfig file
--
i have actually found that the best is to make prerm restores to the default profiles
cause the current users of batterypatch are using the overclock profile so when removing
kernel-config save ..
and then kernel-config default ..
then this profile would be the overclock
and this profile sucks with idle/standby mode
@yrannadx
i have never got 10 days without batterypatch
and if you don't like it , then don't use it. it's up to you to decide
i try my best to provide the most needed solutions for N900
(performance, battery life)
@woody14619
this file is not effective with kernel-power-settings installed
Uhmm.. WTF are you talking about? Pmconfig is *the* file that the kernel loads on startup to get it's default settings. Before the file system is loaded and this file is ingested, the kernel runs at the default Nokia levels. Nothing you're doing with a shell script changes that.
The file is always "effective". It's what the kernel loads on startup, every time the device starts (unless certain other tests are met, dealing with multiple reboots). Now if you mean it's not where the system remains because your script is calling kernel-config load every five seconds, yes, that's true. But this file does contain the current settings the user is running when your patch-script is installed.
If you run kernel-config default <filename>, the kernel-config script parses the file, sets the kernel, and saves those settings to /etc/pmconfig. That file is how the kernel remembers it's own settings from reboot to reboot.
When you install, as part of your postinst, you can make a copy of this file to restore on uninstall. Restoring this file at uninstall will return the user's kernel configuration back to what it was before the patch was installed. That's what I am saying here, nothing more, nothing less.
i cannot make the uninstall process of batterypatch removes kernel-power-settings
Again, WTF? Where did I say to remove kernel-power-settings? I never said you should do that. I said you should *back up* the existing users settings by making a copy of /etc/pmconfig. Where did I ever recommend you uninstall anything, yet alone kernel-power-settings?
and i don't think that normal users will use pmconfig
Everyone who has KP installed uses pmconfig. KP itself uses pmconfig, as does the kernel-config command. Installing KP causes the system to use it. Anyone who does any tweaking or overclocking of their system, through command line, or widget, or script (even your script) is using this file. Unless you include a kernel patch, and are supplying your own kernel, then this file is in use.
I've yet to find someone who's gotten to 10 days using battery-patch. When was the last time you didn't have an update over a 10 day span?
FYI: I've gotten upwards of 30 days before you were even a member on this forum. Don't inflate your ego too much... Batterypatch has nothing to do with uptime. It's arguable that it even has anything to do with battery life above what installing and tweaking KP does.
While I'm not as vocal against the patches, now that the major issues appear to have been addressed, I'm still not convinced that the scripted loading of kernel speeds for specific tasks has much if any effect on battery life. The majority of evidence I've seen to date has been increased battery drain because of the renicing/ignoring load of trackerd, causing tracker to run longer and consume more battery when new media is loaded onto a device with your patch. That and that the continued use of 125Mhz is causing odd behavior, like ring-stuttering, playback failure, and other known side effects of using that speed (which frankly gains you next to nothing power/voltage wise, even with SR enabled).
FYI: I've gotten upwards of 30 days before you were even a member on this forum. Don't inflate your ego too much... Batterypatch has nothing to do with uptime. It's arguable that it even has anything to do with battery life above what installing and tweaking KP does.
did you overclock your phone that time "before he became a member"?
and having these update and new programs and patches ?