comparison mod_csi_battery_saver/README.markdown @ 2606:538c54d2dab3

mod_csi_battery_saver: CSI module to save battery on mobile devices, based on mod_csi_pump
author tmolitor <thilo@eightysoft.de>
date Fri, 10 Mar 2017 01:32:53 +0100
parents
children 69248dcd7cff
comparison
equal deleted inserted replaced
2605:8908d001faf3 2606:538c54d2dab3
1 ---
2 description: CSI module to save battery on mobile devices
3 labels:
4 - 'Stage-Alpha'
5 ---
6
7 Stanzas are queued in a buffer until either an "important" stanza is
8 encountered or the buffer becomes full. Then all queued stanzas are sent
9 at the same time. This way, nothing is lost or reordered while still
10 allowing for power usage savings by not requiring mobile clients to
11 bring up their radio for unimportant stanzas.
12
13 `IQ` stanzas, smacks "stanzas" and `message` stanzas containing a body are
14 considered important. Groupchat messages must set a subject or have
15 the user's username or nickname in their messages to count as "important".
16 `Presence` stanzas are not "important".
17
18 All buffered stanzas that allow timestamping are properly stamped to
19 reflect their original send time, see [XEP-0203].
20
21 Use with other CSI plugins such as [mod_throttle_presence],
22 [mod_filter_chatstates] or [mod_csi_pump] is *not* supported.
23 Please use this module instead of [mod_csi_pump] if you want timestamping
24 and properly handled carbon copies.
25
26 The internal stanza buffer of this module is hardcoded to 100 stanzas.