Procédé d'estimation d'un temps d'utilisation restant pour une batterie de dispositif de radiocommunication. Le domaine de l'invention est celui des radiocommunications. Plus précisément, l'invention concerne une technique d'estimation d'un temps d'utilisation restant d'une batterie, alimentant un dispositif de radiocommunication. Un tel dispositif peut être par exemple un téléphone mobile, un PDA (pour « Personal Digital Assistant », en français « assistant numérique personnel »), ou tout autre terminal portatif. La plupart des téléphones mobiles présentent aujourd'hui une fonctionnalité renseignant leur utilisateur sur le niveau de charge de la batterie. Ce niveau est par exemple symbolisé à l'écran du téléphone sous la forme d'un ensemble de barres, dont le nombre, ou la taille, diminue avec la charge de la batterie. Ainsi, lorsque la batterie vient d'être rechargée, l'utilisateur visualise toutes les barres à l'écran, puis, après un ou plusieurs appels ou envois de SMS (en anglais « Short Message Service » pour « service de message courts »), le nombre de barres diminue, jusqu'à disparaître complètement lorsque la batterie est déchargée. Un inconvénient de cette technique de l'art antérieur est que l'indication donnée à l'utilisateur par ce système de barres est souvent très aléatoire, et ne le renseigne pas de manière fiable sur l'autonomie restante de la batterie. En effet, il est fréquent que le nombre maximum de barres s'affiche pendant très longtemps, puis que ce nombre décroisse brutalement et très fortement après une courte communication téléphonique. L'utilisateur, qui pensait que son téléphone disposait encore d'une forte autonomie avant cette communication, découvre alors subitement qu'il ne lui est plus possible de passer de nouvel appel, sans risquer d'être à court de batterie. Cet inconvénient, très désagréable pour l'utilisateur, vient de ce que les moyens mis en œuvre dans les téléphones mobiles actuels pour évaluer le niveau de charge de la batterie sont peu sophistiqués. Notamment, un des inconvénients majeurs de cette technique de l'art antérieur est qu'elle ne permet pas d'évaluer
l'énergie restante dans la batterie du dispositif, mais seulement une proportion de charge restante, par rapport au niveau de charge maximum de la batterie. Or, le niveau de charge maximum d'une batterie diminue par exemple lorsque la batterie vieillit. Ainsi, si la batterie est vieille, l'utilisateur peut voir un grand nombre de barres s'afficher à son écran, indiquant que la batterie paraît suffisamment chargée, et n'avoir cependant pas le temps de consulter sa messagerie ou un service de météo proposé par l'opérateur, faute d'autonomie suffisante. L'invention a notamment pour objectif de pallier ces inconvénients de l'art antérieur. Plus précisément, un objectif de l'invention est de fournir une technique d'estimation d'un temps d'utilisation restant d'une batterie qui soit fiable, et donne à l'utilisateur une indication plus précise que les techniques de l'art antérieur. Notamment, l'invention a pour objectif de fournir une telle technique qui permette à l'utilisateur de savoir quelle est ou quelles sont les applications de son dispositif de radiocommunication qu'il peut continuer à utiliser, en fonction du niveau de charge de la batterie. Un autre objectif de l'invention est de mettre en œuvre une telle technique, qui reste fiable, même lorsque la batterie vieillit. L'invention a encore pour objectif de fournir une telle technique qui soit simple et peu coûteuse à mettre en œuvre. Ces objectifs, ainsi que d'autres qui apparaîtront par la suite, sont atteints à l'aide d'un procédé d'estimation d'un temps d'utilisation restant pour une batterie de dispositif de radiocommunication, permettant d'assurer d'une part au moins une application de communications vocales et d'autre part au moins une application complémentaire. Selon l'invention, un tel procédé tient compte de l'énergie spécifique nécessaire pour au moins deux applications distinctes disponibles sur ledit dispositif, ledit temps d'utilisation restant étant adapté en fonction de la ou des
applications utilisées et/ou que l'on envisage d'utiliser. Ainsi, l'invention repose sur une approche tout à fait nouvelle et inventive de l'estimation du niveau de charge d'une batterie de dispositif de radiocommunication. En effet, l'invention propose de tenir compte, non seulement de l'énergie restante dans la batterie à un moment donné, mais également de l'énergie consommée par les différentes applications du dispositif, de façon à pouvoir indiquer à l'utilisateur s'il peut encore utiliser chacune des applications auxquelles il a accès, et ce, pendant combien de temps. L'invention constitue donc un progrès très marqué par rapport aux techniques de l'art antérieur qui n'indiquent à l'utilisateur qu'un pourcentage de charge de la batterie, ne reflétant pas du tout l'énergie effectivement restante dans la batterie. Elle offre donc un confort bien plus important à l'utilisateur, en lui permettant de mieux gérer l'utilisation qu'il fait de son téléphone ou PDA, en fonction de son autonomie effectivement restante. Avantageusement, on tient compte d'au moins une caractéristique représentative de ladite batterie, pour estimer le temps d'utilisation restant du dispositif de radiocommunication. Préférentiellement, un tel procédé comprend une étape de mesure de tension de ladite batterie. Cette tension donne une première indication de l'énergie restante de la batterie à un instant donné. Elle est déterminée au moyen des capteurs de la batterie. Selon une caractéristique avantageuse de l'invention, ladite tension mesurée est pondérée en fonction d'une température de fonctionnement dudit dispositif. En effet, la température ambiante est un paramètre qui peut faire varier la tension de la batterie, et dont il faut donc tenir compte pour calculer l'énergie restante. De manière préférentielle, un tel procédé comprend une étape
d'observation régulière de ladite batterie, et une étape de mémorisation d'au moins un paramètre déduit de ladite observation et représentatif des caractéristiques de ladite batterie. En effet, toutes les batteries ne sont pas les mêmes et, en dépit des spécifications fournies par le fabricant, la courbe de décharge de deux batteries de même type, en sortie d'usine, peut différer légèrement. Il est donc nécessaire d'observer une batterie en fonctionnement, pour permettre un calcul fiable de l'énergie restante. Avantageusement, un tel procédé comprend une étape de gestion d'un historique de l'évolution d'au moins un paramètre représentatif de ladite batterie. On prend ainsi en compte le facteur vieillissement de la batterie. , Préférentiellement, le ou lesdits paramètre(s) est(sont) stocké(s) dans une mémoire non-volatile, par exemple de type EEPROM (en anglais « Erasable Electrically Programmable Read-Only Memory ») ou de type Flash. Ainsi, ils restent mémorisés, même lorsque le dispositif de radiocommunication n'est plus alimenté, par exemple en cas de déchargement complet de la batterie. De manière préférentielle, ledit paramètre est l'énergie restante de ladite batterie en un point prédéterminé d'une courbe de décharge. La courbe de décharge d'une batterie est généralement constituée d'une succession de segments de droites, ou paliers, dont les extrémités communes sont aisément identifiables. On peut par exemple stocker en mémoire statique l'énergie de la batterie en ces points d'extrémités, qui est généralement connue à l'avance. Avantageusement, un tel procédé comprend une étape de modification de ladite énergie restante stockée en mémoire non-volatile, en fonction d'un vieillissement de ladite batterie. En effet, une batterie tient de moins en moins bien la charge, au fur et à mesure qu'elle vieillit, et sa courbe de décharge évolue donc également. Préférentiellement, le vieillissement de ladite batterie est évalué par comparaison d'une énergie restante estimée et d'une énergie restante mesurée de
ladite batterie. On utilise donc les erreurs de mesure d'énergie estimée pour identifier un vieillissement de la batterie, et en déduire une évolution correspondante de la courbe de décharge. Si par exemple on constate que la batterie est quasiment vide, alors qu'elle ne devrait pas l'être d'après les calculs, on diminue la valeur de l'énergie restante stockée en mémoire non-volatile pour certains points prédéterminés de la courbe de décharge. Avantageusement, on estime une énergie restante de ladite batterie en un point quelconque de ladite courbe de décharge en fonction d'au moins certaines des données suivantes : ladite énergie restante, en au moins un point prédéterminé de ladite courbe de décharge, stockée en mémoire non- volatile ; une durée d'activation d'au moins un sous-ensemble dudit dispositif de radiocommunication ; - une consommation théorique dudit au moins un sous-ensemble dudit dispositif. Ainsi, aux points de la courbe de décharge dont l'énergie n'est pas connue a priori, on calcule l'énergie restante de la batterie en ce point, en évaluant la consommation d'énergie depuis le dernier point mémorisé de la courbe de décharge. La consommation d'énergie depuis le dernier point connu de la courbe est calculée sous la forme du produit des durées d'activation des différentes parties du mobile et de la consommation théorique de chacune de ces parties. Selon une caractéristique avantageuse de l'invention, un tel procédé met en œuvre une fonction de lissage desdites tensions et/ou énergies mesurées. On affine ainsi les résultats de l'algorithme de calcul de l'énergie restante dans la batterie. Préférentiellement, un tel procédé comprend une étape de génération d'alarme, si la charge restante n'est pas compatible avec l'utilisation d'une application particulière. Par exemple, l'utilisateur est averti qu'il ne peut plus utiliser une
application vidéo si la charge de la batterie n'est pas suffisante pour cette application. Avantageusement, dans le cas où ladite application met en œuvre un téléchargement de données, on n'autorise pas ce dernier si le temps restant n'est pas suffisant pour réaliser celui-ci, et/ou si la charge résiduelle après ledit téléchargement est inférieur à un seuil prédéterminé. On évite ainsi d'entreprendre un téléchargement coûteux en énergie si l'on sait que la charge restante de la batterie ne permettra pas de le mener à bien, ou ne permettra ensuite plus d'utiliser certaines applications moins coûteuses, telles que les applications de communications vocales par exemple. Le seuil peut être fixé a priori par le réseau ou le dispositif de radiocommunication, ou choisi par l'utilisateur. Selon une variante avantageuse de l'invention, un tel procédé interdit l'utilisation ou propose de ne pas utiliser une application lorsque le temps restant correspond à une durée minimum de communication vocale et/ou d'utilisation d'au moins une autre application par ledit dispositif. A nouveau, cette durée minimum peut être choisi par l'utilisateur, en fonction de ses besoins, ou fixée a priori par le téléphone ou le réseau auquel il est connecté. On laisse ainsi la possibilité à l'utilisateur, par exemple, de passer un dernier appel téléphonique, en cas d'urgence, avant le déchargement complet de la batterie. L'application privilégiée peut être prédéterminée, ou choisie par l'utilisateur, en fonction des applications qu'il utilise le plus fréquemment. Selon une autre variante avantageuse de l'invention, un tel procédé interrompt ou propose d'interrompre l'utilisation d'une application lorsque le temps restant correspond à une durée minimum de communication vocale et/ou d'utilisation d'au moins une autre application. Un tel procédé peut donc réaliser une intrusion plus forte que le simple message d'alerte dans l'utilisation du dispositif. Avantageusement, un tel procédé tient compte de l'énergie de transmission
nécessaire à un instant donné, en fonction notamment d'une distance entre ledit dispositif et une station de base avec laquelle il communique. En effet, la consommation d'énergie lors d'une communication vocale par exemple est plus élevée lorsque le mobile est plus éloigné de la station de base, car la puissance d'émission du téléphone doit être plus élevée. Préférentiellement, un tel procédé comprend une étape de génération d'un message vers un réseau de radiocommunication auquel est relié ledit dispositif, destiné à informer ledit réseau dudit temps d'utilisation restant. On offre ainsi la possibilité au réseau de radiocommunication de connaître l'autonomie restante de la batterie du téléphone. Un tel message peut être un message spécifique, normalisé selon le protocole de communication du dispositif et du réseau. Préférentiellement, ledit message est émis par ledit dispositif de radiocommunication sur requête dudit réseau. Le réseau interroge donc le dispositif, par exemple à intervalles de temps réguliers, pour connaître l'autonomie restante de la batterie. De manière préférentielle, ledit réseau limite l'accès dudit dispositif à une application lorsque ledit temps d'utilisation restant correspond à une durée minimum de communication vocale et/ou d'utilisation d'au moins une autre application. Le réseau peut donc interdire ou restreindre l'accès du téléphone mobile à certaines applications s'il juge l'autonomie insuffisante. D'autres caractéristiques et avantages de l'invention apparaîtront plus clairement à la lecture de la description suivante d'un mode de réalisation préférentiel, donné à titre de simple exemple illustratif et non limitatif, et des dessins annexés, parmi lesquels : la figure 1 présente un synoptique d'un dispositif de radiocommunication et de la batterie qui l'alimente ; la figure 2 illustre une courbe de décharge de la batterie de la figure 1 ; - la figure 3 décrit le protocole d'échanges entre un dispositif de
radiocommunication et le réseau sur l'autonomie restante de la batterie de la figure 1. Le principe général de l'invention repose sur l'estimation du temps d'utilisation restant d'une batterie, en fonction, non seulement de l'énergie restante dans la batterie, mais aussi de la consommation en énergie des différentes applications accessibles par un dispositif de radiocommunication. On présente, en relation avec la figure 1, un exemple de dispositif de radiocommunication 1, et de la batterie associée 2, auxquels s'applique l'invention. La batterie 2 s'insère dans le boîtier du dispositif 1, qu'elle alimente en énergie lorsque le dispositif 1 n'est pas directement relié au secteur. Le dispositif représenté sur la figure 1 est un téléphone mobile. Il peut bien sûr également s'agir de tout autre dispositif de radiocommunication fonctionnant sur batterie, tel qu'un PDA, un ordinateur portable, etc. On a également représenté sur l'écran du téléphone 1 l'icône 3 symbolisant la charge restante de la batterie 2 selon les techniques de l'art antérieur. Cette icône 3 comprend un ensemble de barres qui, lorsqu'elles sont toutes affichées, indiquent que le niveau de charge de la batterie est à son maximum. Selon l'invention en revanche, le temps d'utilisation restant du téléphone 1 est calculé en fonction de l'énergie consommée par chacune des applications accessibles pour l'utilisateur et de la connaissance de la courbe de décharge de la batterie 2, illustrée en figure 2. La courbe de la figure 2 représente la tension V aux bornes de la batterie 2 en fonction du temps t. Lorsque la batterie vient d'être rechargée, la tension à ses bornes est maximale égale à VMAX- Elle décroît ensuite progressivement, en passant successivement par les points A, B, C et D de la courbe de décharge. On notera que la tension de la batterie 2 ne varie pas de façon linéaire au cours de la décharge. On peut avoir, sur la courbe de décharge, un palier à tension constante, alors que le téléphone mobile 1 est en train de se décharger lentement, du fait de son utilisation.
Les points A, B et C de la courbe de la figure 2, qui sont les premiers points de chacun des segments de droite constitutifs de la courbe de décharge, peuvent être aisément identifiés : l'énergie restante de la batterie en ces points est connue à l'avance et stockée en mémoire statique du téléphone 1. Plus précisément, lors de la première analyse de la décharge de la batterie, l'énergie restante aux points A, B et C est connue à partir des spécifications fournies par le fabricant de la batterie. Elle est ensuite mise à jour, en fonction de l'observation des décharges successives de la batterie, les valeurs observées étant mémorisées en remplacement des valeurs fournies par le fabricant. En revanche, l'énergie restante au point D, qui est situé en une position quelconque de l'un des paliers de la courbe de décharge, est plus difficile à déterminer. Pour la calculer, on détecte le point C, qui est le point connu de la courbe de décharge le plus proche du point D, et on calcule la consommation du dispositif 1 entre les points C et D. Pour ce faire, on commence par mesurer la tension aux bornes de la batterie 2 au point D, à l'aide des capteurs de la batterie. On tient également compte de la température de fonctionnement du téléphone 1, qui peut faire varier la tension de la batterie 2 (il est en effet bien connu que la température est l'un des critères d'arrêt de la charge d'une batterie). Si l'on appelle Ec l'énergie restante de la batterie 2 au point C, l'énergie restante dans la batterie 2 au point D est : ED=Ec-EnergieConsommée(C->D) Pour calculer la dépense d'énergie du téléphone mobile 1 du point C au point D, on se base sur les durées d'activation des différentes parties du mobile, ainsi que sur la consommation théorique de chacune de ces parties, telle que définie par exemple dans les spécifications fournies par le fabricant du téléphone 1. Ainsi, si, depuis le point C, l'utilisateur a téléchargé un fichier pendant deux minutes, puis envoyé trois SMS en 1 min 30 s, on calcule la consommation d'énergie due à l'activation de l'application de téléchargement pendant deux
minutes d'une part, et la consommation d'énergie due à l'envoi de SMS d'autre part, et on soustrait cette énergie dépensée à l'énergie restante au point C, pour en déduire l'énergie restante au point D. L'énergie consommée par ces différentes applications comprend d'une part la consommation intrinsèque de l'application, et d'autre part, la consommation due aux fonctionnalités de télécommunications, qui dépendent par exemple de la puissance d'émission du téléphone 1, liée à la distance du téléphone à la station de base. Les durées d'activation des différentes applications peuvent être déterminées de façon précise à partir de l'horloge temps réel RTC (« Real Time Clock ») du téléphone mobile, qui permet de faire des mesures de temps. L'énergie des points A, B et C permet donc de déduire l'énergie de chacun des autres points de la courbe de décharge. Cependant, du fait du vieillissement de la batterie, l'énergie des points A, B et C est susceptible de varier légèrement dans le temps. Il est donc nécessaire de modifier la valeur stockée en mémoire au cours du vieillissement de la batterie. Pour ce faire, on détecte le vieillissement de la batterie à partir des erreurs de mesure d'énergie estimée. Si l'on constate que la batterie 2 est quasiment vide alors qu'elle ne devrait pas l'être d'après les calculs, on diminue les valeurs EA, EB et Ec mémorisées en mémoire EEPROM ou en mémoire Flash, de manière à obtenir une courbe de décharge plus fidèle à la réalité. On décrit désormais, en relation avec la figure 3, un mécanisme d'échanges d'informations entre le téléphone 1 et un réseau de radiocommunication auquel il est connecté, relatives à l'autonomie restante de la batterie 2. Au cours d'une étape référencée 5, la station de base 4 la plus proche du téléphone 1 envoie à ce dernier une requête pour connaître la charge restante de la batterie 2. Le dispositif 1 répond (6) sous la forme d'un message normalisé, comprenant un identifiant du dispositif 1, ainsi que la valeur de l'énergie restante calculée pour la batterie 2.
Un tel message normalisé 6 est un message de protocole de niveau 3, de la couche RR (pour « Radio Ressource ») dans le cas du GSM, et de la couche RRC (pour « Radio Ressource Control ») dans le cas de l'UMTS. Il comprend un en-tête de protocole classique, et un « body », ou corps, comprenant l'information relative à l'autonomie restante de la batterie. Deux variantes de réalisation peuvent être envisagées. Dans une première variante de réalisation de l'invention, le téléphone 1 envoie à la station de base 4 la valeur de l'énergie restante calculée de la batterieMethod for estimating a remaining usage time for a battery of a radiocommunication device. The field of the invention is that of radiocommunications. More specifically, the invention relates to a technique for estimating a remaining usage time of a battery, powering a radiocommunication device. Such a device can be for example a mobile phone, a PDA (for "Personal Digital Assistant", in French "personal digital assistant"), or any other portable terminal. Most mobile phones nowadays have a functionality informing their user about the battery charge level. This level is for example symbolized on the telephone screen in the form of a set of bars, the number or size of which decreases with the charge of the battery. Thus, when the battery has just been recharged, the user sees all the bars on the screen, then, after one or more calls or text messages (in English "Short Message Service" for "short message service") , the number of bars decreases, until it disappears completely when the battery is discharged. A drawback of this technique of the prior art is that the indication given to the user by this system of bars is often very random, and does not provide reliable information on the remaining autonomy of the battery. Indeed, it is frequent that the maximum number of bars is displayed for a very long time, then that this number decreases suddenly and very strongly after a short telephone call. The user, who thought that his phone still had a lot of autonomy before this communication, suddenly discovered that it was no longer possible for him to make a new call, without risking running out of battery. This drawback, which is very unpleasant for the user, comes from the fact that the means implemented in current mobile telephones for evaluating the level of charge of the battery are unsophisticated. In particular, one of the major drawbacks of this technique of the prior art is that it does not make it possible to evaluate the energy remaining in the device battery, but only a proportion of charge remaining, compared to the maximum charge level of the battery. However, the maximum charge level of a battery decreases for example when the battery ages. Thus, if the battery is old, the user can see a large number of bars appear on his screen, indicating that the battery appears sufficiently charged, and however not having time to consult his email or a weather service. proposed by the operator, lack of sufficient autonomy. The invention particularly aims to overcome these drawbacks of the prior art. More specifically, an objective of the invention is to provide a technique for estimating a remaining usage time of a battery which is reliable, and gives the user a more precise indication than the techniques of the art. prior. In particular, the invention aims to provide such a technique which allows the user to know what is or what are the applications of his radiocommunication device that he can continue to use, depending on the level of charge of the battery . Another objective of the invention is to implement such a technique, which remains reliable, even when the battery ages. Another object of the invention is to provide such a technique which is simple and inexpensive to implement. These objectives, as well as others which will appear subsequently, are achieved using a method of estimating a remaining usage time for a battery of a radiocommunication device, making it possible to ensure a share at least one voice communications application and secondly at least one complementary application. According to the invention, such a method takes account of the specific energy necessary for at least two separate applications available on said device, said remaining usage time being adapted as a function of the applications used and / or that one plans to use. Thus, the invention is based on a completely new and inventive approach to the estimation of the charge level of a battery of a radiocommunication device. Indeed, the invention proposes to take into account not only the energy remaining in the battery at a given time, but also the energy consumed by the various applications of the device, so as to be able to indicate to the user s 'he can still use each of the applications to which he has access, and for how long. The invention therefore constitutes a very marked progress compared to the techniques of the prior art which indicate to the user only a percentage of battery charge, not reflecting at all the energy actually remaining in the battery. It therefore offers much greater comfort to the user, allowing him to better manage the use he makes of his phone or PDA, depending on his actually remaining autonomy. Advantageously, at least one characteristic representative of said battery is taken into account in order to estimate the remaining time of use of the radiocommunication device. Preferably, such a method comprises a step of measuring the voltage of said battery. This voltage gives a first indication of the remaining battery power at a given time. It is determined by means of the battery sensors. According to an advantageous characteristic of the invention, said measured voltage is weighted as a function of an operating temperature of said device. Indeed, the ambient temperature is a parameter which can vary the battery voltage, and which must therefore be taken into account when calculating the remaining energy. Preferably, such a method comprises a step regular observation of said battery, and a step of memorizing at least one parameter deduced from said observation and representative of the characteristics of said battery. Indeed, all the batteries are not the same and, in spite of the specifications provided by the manufacturer, the discharge curve of two batteries of the same type, leaving the factory, may differ slightly. It is therefore necessary to observe a battery in operation, to allow a reliable calculation of the remaining energy. Advantageously, such a method comprises a step of managing a history of the evolution of at least one parameter representative of said battery. The aging factor of the battery is thus taken into account. Preferably, the said parameter (s) is (are) stored in a non-volatile memory, for example of the EEPROM type (in English “Erasable Electrically Programmable Read-Only Memory”) or of the Flash type. Thus, they remain memorized, even when the radiocommunication device is no longer supplied, for example in the event of complete discharge of the battery. Preferably, said parameter is the remaining energy of said battery at a predetermined point on a discharge curve. The discharge curve of a battery is generally made up of a succession of straight line segments, or bearings, the common ends of which are easily identifiable. One can for example store in static memory the energy of the battery at these end points, which is generally known in advance. Advantageously, such a method comprises a step of modifying said remaining energy stored in non-volatile memory, as a function of aging of said battery. Indeed, a battery holds the charge less and less well, as it ages, and its discharge curve therefore also changes. Preferably, the aging of said battery is evaluated by comparison of an estimated remaining energy and a measured remaining energy of said battery. The estimated energy measurement errors are therefore used to identify an aging of the battery, and to deduce therefrom a corresponding evolution of the discharge curve. If, for example, we see that the battery is almost empty, when it should not be according to the calculations, we decrease the value of the remaining energy stored in non-volatile memory for certain predetermined points on the curve discharge. Advantageously, an energy remaining from said battery is estimated at any point of said discharge curve as a function of at least some of the following data: said energy remaining, at at least one predetermined point of said discharge curve, stored in memory not - volatile; a duration of activation of at least a subset of said radiocommunication device; - a theoretical consumption of said at least one subset of said device. Thus, at the points of the discharge curve whose energy is not known a priori, the remaining energy of the battery is calculated at this point, by evaluating the energy consumption from the last memorized point of the curve dump. The energy consumption from the last known point on the curve is calculated as the product of the activation times of the different parts of the mobile and the theoretical consumption of each of these parts. According to an advantageous characteristic of the invention, such a method implements a smoothing function for said voltages and / or energies measured. The results of the algorithm for calculating the energy remaining in the battery are thus refined. Preferably, such a method comprises a step of generating an alarm, if the remaining charge is not compatible with the use of a particular application. For example, the user is warned that he can no longer use a video application if the battery charge is not sufficient for this application. Advantageously, in the case where said application implements a data download, the latter is not authorized if the remaining time is not sufficient to carry it out, and / or if the residual charge after said download is lower at a predetermined threshold. This avoids undertaking a download costly in energy if you know that the remaining charge of the battery will not allow it to be carried out, or will then no longer allow the use of certain less expensive applications, such as voice communications for example. The threshold can be set a priori by the network or the radiocommunication device, or chosen by the user. According to an advantageous variant of the invention, such a method prohibits the use or proposes not to use an application when the remaining time corresponds to a minimum duration of voice communication and / or use of at least one other application by said device. Again, this minimum duration can be chosen by the user, according to his needs, or fixed a priori by the telephone or the network to which he is connected. This leaves the possibility for the user, for example, to make a last phone call, in an emergency, before the battery is completely discharged. The preferred application can be predetermined, or chosen by the user, depending on the applications he uses most frequently. According to another advantageous variant of the invention, such a method interrupts or proposes to interrupt the use of an application when the remaining time corresponds to a minimum duration of voice communication and / or use of at least one other application. Such a method can therefore achieve a stronger intrusion than the simple alert message in the use of the device. Advantageously, such a method takes account of the transmission energy. necessary at a given time, depending in particular on a distance between said device and a base station with which it communicates. Indeed, the energy consumption during a voice communication for example is higher when the mobile is further from the base station, since the transmission power of the telephone must be higher. Preferably, such a method comprises a step of generating a message to a radiocommunication network to which said device is connected, intended to inform said network of said remaining usage time. This gives the radio network the possibility of knowing the remaining battery life of the phone. Such a message can be a specific message, standardized according to the communication protocol of the device and the network. Preferably, said message is transmitted by said radiocommunication device at the request of said network. The network therefore interrogates the device, for example at regular time intervals, to find out the remaining autonomy of the battery. Preferably, said network limits access of said device to an application when said remaining usage time corresponds to a minimum duration of voice communication and / or use of at least one other application. The network can therefore prohibit or restrict the access of the mobile phone to certain applications if it deems the autonomy insufficient. Other characteristics and advantages of the invention will appear more clearly on reading the following description of a preferred embodiment, given by way of simple illustrative and nonlimiting example, and of the appended drawings, among which: FIG. 1 presents a block diagram of a radiocommunication device and of the battery which supplies it; Figure 2 illustrates a discharge curve of the battery of Figure 1; - Figure 3 describes the exchange protocol between a device radiocommunication and the network on the remaining autonomy of the battery of FIG. 1. The general principle of the invention is based on the estimation of the remaining use time of a battery, as a function, not only of the remaining energy in the battery, but also the energy consumption of the various applications accessible by a radiocommunication device. There is presented, in relation to FIG. 1, an example of a radiocommunication device 1, and of the associated battery 2, to which the invention applies. The battery 2 is inserted into the housing of the device 1, which it supplies with energy when the device 1 is not directly connected to the mains. The device shown in Figure 1 is a mobile phone. It can of course also be any other radiocommunication device operating on battery, such as a PDA, a laptop, etc. There is also shown on the screen of the telephone 1 the icon 3 symbolizing the remaining charge of the battery 2 according to the techniques of the prior art. This icon 3 includes a set of bars which, when all displayed, indicate that the battery charge level is at its maximum. According to the invention, however, the remaining use time of the telephone 1 is calculated as a function of the energy consumed by each of the applications accessible to the user and of the knowledge of the discharge curve of the battery 2, illustrated in Figure 2. The curve in Figure 2 represents the voltage V across the battery 2 as a function of time t. When the battery has just been recharged, the voltage at its terminals is maximum equal to V MAX - It then decreases gradually, passing successively through points A, B, C and D of the discharge curve. It will be noted that the voltage of the battery 2 does not vary linearly during the discharge. One can have, on the discharge curve, a constant voltage bearing, while the mobile phone 1 is slowly discharging, due to its use. The points A, B and C of the curve of FIG. 2, which are the first points of each of the line segments constituting the discharge curve, can be easily identified: the remaining energy of the battery at these points is known in advance and stored in the phone's static memory 1. More precisely, during the first analysis of the battery discharge, the remaining energy at points A, B and C is known from the specifications provided by the manufacturer of drums. It is then updated, as a function of the observation of the successive discharges of the battery, the values observed being memorized in replacement of the values supplied by the manufacturer. On the other hand, the energy remaining at point D, which is located in any position of one of the stages of the discharge curve, is more difficult to determine. To calculate it, we detect point C, which is the known point of the discharge curve closest to point D, and we calculate the consumption of device 1 between points C and D. To do this, we start by measuring the voltage across the battery 2 at point D, using the battery sensors. The operating temperature of the telephone 1 is also taken into account, which can vary the voltage of the battery 2 (it is indeed well known that the temperature is one of the criteria for stopping the charging of a battery) . If we call E c the remaining energy of battery 2 at point C, the energy remaining in battery 2 at point D is: E D = E c - Energy Consumed (C-> D) To calculate the expenditure d energy of mobile phone 1 from point C to point D, we base ourselves on the activation times of the different parts of the mobile, as well as on the theoretical consumption of each of these parts, as defined for example in the specifications provided by the manufacturer of the telephone 1. Thus, if, from point C, the user has downloaded a file for two minutes, then sent three SMS in 1 min 30 s, the energy consumption due to the activation of the user is calculated download application for two minutes on the one hand, and the energy consumption due to the sending of SMS on the other hand, and this energy spent is subtracted from the remaining energy at point C, to deduce the remaining energy at point D. The energy consumed by these different applications includes on the one hand the intrinsic consumption of the application, and on the other hand, the consumption due to the telecommunications functionalities, which depend for example on the transmission power of the telephone 1, linked away from the phone to the base station. The activation times of the various applications can be precisely determined from the real time clock RTC ("Real Time Clock") of the mobile phone, which allows time measurements. The energy of points A, B and C therefore makes it possible to deduce the energy of each of the other points of the discharge curve. However, due to the aging of the battery, the energy of points A, B and C is likely to vary slightly over time. It is therefore necessary to modify the value stored in memory during aging of the battery. To do this, the aging of the battery is detected from errors in the estimated energy measurement. If it is found that the battery 2 is almost empty when it should not be according to the calculations, the values E A , E B and E c stored in EEPROM memory or in Flash memory are reduced, by so as to obtain a discharge curve more faithful to reality. We will now describe, in relation to FIG. 3, a mechanism for exchanging information between the telephone 1 and a radiocommunication network to which it is connected, relating to the remaining autonomy of the battery 2. During a step referenced 5, the base station 4 closest to the telephone 1 sends the latter a request to find out the remaining charge of the battery 2. The device 1 responds (6) in the form of a standardized message, comprising an identifier of the device 1, as well as the value of the remaining energy calculated for battery 2. Such a standardized message 6 is a level 3 protocol message, from the RR layer (for “Radio Resource”) in the case of GSM, and from the RRC layer (for “Radio Resource Control”) in the case of UMTS. It includes a classic protocol header, and a "body", or body, including information relating to the remaining battery life. Two alternative embodiments can be envisaged. In a first variant embodiment of the invention, the telephone 1 sends to the base station 4 the value of the calculated remaining energy of the battery
2. Dans ce cas, le corps du message normalisé 6 comprend une indication du niveau de charge de la batterie, exprimé en mAh. Par exemple, le corps du message 6 véhicule une valeur 0, 1, 2 ou 3, indiquant un intervalle de valeurs entre lesquelles est comprise l'énergie restante de la batterie : la valeur 0 indique par exemple que le niveau de charge de la batterie est inférieur à 10 mAh, la valeur 1, qu'il est compris entre 10 et 20 mAh, etc. Le réseau détermine alors, à partir de cette énergie restante, le temps d'utilisation restant de chacune des applications accessibles par l'utilisateur, en fonction de l'énergie spécifique nécessaire à chacune de ces applications. Le réseau peut alors décider de limiter l'accès de l'utilisateur à certaine applications, s'il estime que le temps d'utilisation restant n'est pas suffisant. Il peut également envoyer un message d'alerte à l'utilisateur, en attirant son attention sur le fait, par exemple, que la charge restante de la batterie ne lui permet plus que huit minutes de communication vocale ou l'envoi de 10 SMS. Le réseau peut alors interdire à l'utilisateur d'entreprendre le téléchargement d'un fichier long et coûteux en termes d'énergie. Dans une seconde variante de réalisation de l'invention, le téléphone 1 calcule lui-même, à partir de l'énergie restante calculée de la batterie 2, le temps d'utilisation restant de chacune des applications accessibles pour l'utilisateur. Par exemple, connaissant l'énergie restante et l'énergie consommée à la seconde par chacune des applications (en fonction de la consommation intrinsèque de chacun des éléments du téléphone 1, et de la consommation due aux fonctions
de télécommunication), le téléphone 1 calcule le temps d'utilisation possible de chacune des fonctions de communication vocale, téléchargement de fichier, envoi de SMS, etc. Il affiche alors un message sur l'écran pour en informer l'utilisateur. Eventuellement, si l'utilisateur a déjà activé l'une des applications accessibles, le téléphone 1 affiche un message d'alerte sur l'écran, prévenant d'une possible interruption prochaine du service pour autonomie insuffisante. Selon cette seconde variante de réalisation, le téléphone 1 envoie au réseau, non pas l'énergie restante de la batterie 2, mais les temps d'utilisation restants qu'il a calculé. Le réseau peut alors décider, au vu de ces temps d'utilisation, de limiter ou non l'accès de l'utilisateur à certaines applications disponibles sur le réseau. Dans ce cas, les informations véhiculées dans le corps du message normalisé 6 sont des temps d'utilisation restants d'un certain nombre de fonctionnalités du téléphone (par exemple, une durée de communication vocale ou un nombre de transferts d'octets de données possibles). On peut bien sûr également envisager de ne pas faire intervenir le réseau de radiocommunication. L'ensemble des calculs, ainsi que la génération des messages d'alertes et l'éventuelle autorisation, interdiction ou interruption de l'accès à certaines applications sont alors entièrement gérés par le téléphone mobile 1.
2. In this case, the body of the standardized message 6 includes an indication of the level of charge of the battery, expressed in mAh. For example, the body of message 6 conveys a value 0, 1, 2 or 3, indicating an interval of values between which the remaining energy of the battery is included: the value 0 indicates for example that the level of charge of the battery is less than 10 mAh, the value 1, that it is between 10 and 20 mAh, etc. The network then determines, from this remaining energy, the remaining usage time of each of the applications accessible by the user, as a function of the specific energy required for each of these applications. The network can then decide to limit the user's access to certain applications, if it considers that the remaining time of use is not sufficient. He can also send an alert message to the user, drawing his attention to the fact, for example, that the remaining charge of the battery allows him only eight minutes of voice communication or the sending of 10 SMS. The network can then prohibit the user from undertaking the download of a long and costly file in terms of energy. In a second variant embodiment of the invention, the telephone 1 calculates itself, from the calculated remaining energy of the battery 2, the remaining time of use of each of the applications accessible to the user. For example, knowing the remaining energy and the energy consumed per second by each of the applications (as a function of the intrinsic consumption of each of the elements of the telephone 1, and of the consumption due to the functions telecommunication), telephone 1 calculates the possible usage time for each of the voice communication, file download, SMS sending, etc. functions. It then displays a message on the screen to inform the user. Optionally, if the user has already activated one of the accessible applications, the telephone 1 displays an alert message on the screen, warning of a possible imminent interruption of the service for insufficient autonomy. According to this second alternative embodiment, the telephone 1 sends to the network, not the remaining energy of the battery 2, but the remaining usage times that it has calculated. The network can then decide, in view of these times of use, to limit or not to limit the access of the user to certain applications available on the network. In this case, the information conveyed in the body of the standardized message 6 is the remaining usage times of a certain number of telephone functionalities (for example, a duration of voice communication or a number of possible data byte transfers. ). It is of course also possible not to involve the radiocommunication network. All the calculations, as well as the generation of alert messages and the possible authorization, prohibition or interruption of access to certain applications are then entirely managed by the mobile phone 1.